|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.mff.ksi.jinfer.iss.heuristics.construction.Removal
public class Removal
A simple construction heuristic. Orders all AMs according to their weight,
creates a solution containing all AMs (and thus probably violating the ID set
condition) and starting from the least valuable tries to remove them from
the solution. As soon as the solution becomes an ID set, it is returned.
Note that the pool created by this heuristic contains only one solution
(IdSet
).
Constructor Summary | |
---|---|
Removal()
|
Method Summary | |
---|---|
String |
getDisplayName()
Returns a user friendly name of the module. |
String |
getModuleDescription()
Returns the information about this module's inner workings. |
String |
getName()
Returns a user friendly yet unique name of the module. |
void |
start(Experiment experiment,
HeuristicCallback callback)
Start the heuristic run. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Removal()
Method Detail |
---|
public void start(Experiment experiment, HeuristicCallback callback) throws InterruptedException
ConstructionHeuristic
start
in interface ConstructionHeuristic
experiment
- Experiment in context of which to run the heuristic.callback
- Callback to be invoked when finished.
InterruptedException
public String getName()
NamedModule
getName
in interface NamedModule
public String getDisplayName()
NamedModule
getDisplayName
in interface NamedModule
public String getModuleDescription()
NamedModule
NamedModule.getDisplayName()
, but if the
module for example consists of more sub-modules, their names should be
listed here.
getModuleDescription
in interface NamedModule
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |