Class AlgorithmComponentFactory
java.lang.Object
es.urjc.etsii.grafo.autoconfig.builder.AlgorithmComponentFactory
- Direct Known Subclasses:
GraspConstructiveFactory
Create an algorithm component from a given set of parameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Object
buildComponent
(Map<String, Object> params) Create algorithm component, can be an algorithm, a constructive method, a local search, etc.abstract List
<ComponentParameter> Which are the parameters required by this factory?abstract Class
<?> produces()
Which class type does this factory produce?
-
Constructor Details
-
AlgorithmComponentFactory
public AlgorithmComponentFactory()
-
-
Method Details
-
buildComponent
Create algorithm component, can be an algorithm, a constructive method, a local search, etc.- Parameters:
params
- algorithm parameters- Returns:
- component
-
getRequiredParameters
Which are the parameters required by this factory?- Returns:
-
produces
Which class type does this factory produce?- Returns:
- class reference, for example "return SimpleAlgorithm.class"
-