mirror of
https://github.com/graphhopper/jsprit.git
synced 2020-01-24 07:45:05 +01:00
added getters to analysis.toolbox.ComputationalLaboratory.class to get
algorithm- and instanceNames
This commit is contained in:
parent
21ab39013c
commit
bdda744b14
1 changed files with 8 additions and 0 deletions
|
|
@ -239,6 +239,14 @@ public class ComputationalLaboratory {
|
||||||
algorithms.add(new Algorithm(name,factory));
|
algorithms.add(new Algorithm(name,factory));
|
||||||
algorithmNames.add(name);
|
algorithmNames.add(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Collection<String> getAlgorithmNames() {
|
||||||
|
return algorithmNames;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Collection<String> getInstanceNames(){
|
||||||
|
return instanceNames;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Adds instance by name.
|
* Adds instance by name.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue