Commit 7e67d6c9 authored by Jonathan Shahen's avatar Jonathan Shahen
Browse files

remnoving Javadoc warnings

parent 21875cab
......@@ -178,7 +178,8 @@ public enum VagabondOptionString {
PLACEMENT_EQUALSPREAD("equalSpread"),
/**
* [Placement Algorithms] Generates a placement map using {@link PlacementMapExamples#equalSpreadClientsHalf(int)}
* [Placement Algorithms] Generates a placement map using
* {@link PlacementMapExamples#equalSpreadClientsHalfFull(int)}
* @vagabond.category Placement Algorithms
*/
PLACEMENT_EQUALSPREADHALF("equalSpreadHalf"),
......
......@@ -36,7 +36,7 @@ public class PlacementMapFile {
*
* @param filename the path to the file that is to be read in
* @return a PlacementMap that was represented in the file, null if any issues occur
* @throws IOException
* @throws IOException occurs if the placement file does not exist or is unable to read from it
*/
public static PlacementMap readPlacementMap(String filename) throws IOException {
Logger logger = VagabondSettings.getInstance().getLogger();
......@@ -45,7 +45,7 @@ public class PlacementMapFile {
if (!input.exists()) {
logger.severe("The filename given does not point to a file that exists! Filename = " + filename);
return null;
throw new IOException("The filename given does not point to a file that exists! Filename = " + filename);
}
CSVParser parser = CSVParser.parse(input, Charset.defaultCharset(), CSVFormat.RFC4180);
......
......@@ -21,9 +21,9 @@ public class PlacementMapFromILPSolver {
/**
* Creates a PlacementMap by deciphering the raw output from the ILP Solver and using whatever internal
* structures were used to map Clients and VMs in the reduction to ILP Solver's language
* @param reduction reference to access internal structure to help link Clients and VMs to their original IDs
* @param rt reference to access internal structure to help link Clients and VMs to their original IDs
* @return PlacementMap that has the same Client, VM, and machine IDs as past the input to the reduction had
* @throws IloException
* @throws IloException occurs if there is any trouble reading the result from CPLEX
*/
public static PlacementMap getPlacementMap(ReduceToILP rt) throws IloException {
if (logger == null) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment