public class SimpleCoreHunterListener extends Object implements CoreHunterListener
Constructor and Description |
---|
SimpleCoreHunterListener() |
SimpleCoreHunterListener(PrintStream printStream) |
Modifier and Type | Method and Description |
---|---|
String |
getPrefix() |
void |
newBestSolution(org.jamesframework.core.search.Search<? extends org.jamesframework.core.subset.SubsetSolution> search,
org.jamesframework.core.subset.SubsetSolution newBestSolution,
org.jamesframework.core.problems.objectives.evaluations.Evaluation newBestSolutionEvaluation,
org.jamesframework.core.problems.constraints.validations.Validation newBestSolutionValidation) |
void |
preprocessingStarted(String message)
Fired when the pre-processing has started.
|
void |
preprocessingStopped(String message)
Fired when the pre-processing has stopped.
|
void |
searchStarted(org.jamesframework.core.search.Search<? extends org.jamesframework.core.subset.SubsetSolution> search) |
void |
searchStopped(org.jamesframework.core.search.Search<? extends org.jamesframework.core.subset.SubsetSolution> search) |
void |
setPrefix(String prefix) |
public SimpleCoreHunterListener()
public SimpleCoreHunterListener(PrintStream printStream)
public final String getPrefix()
public final void setPrefix(String prefix)
public void searchStarted(org.jamesframework.core.search.Search<? extends org.jamesframework.core.subset.SubsetSolution> search)
searchStarted
in interface org.jamesframework.core.search.listeners.SearchListener<org.jamesframework.core.subset.SubsetSolution>
public void searchStopped(org.jamesframework.core.search.Search<? extends org.jamesframework.core.subset.SubsetSolution> search)
searchStopped
in interface org.jamesframework.core.search.listeners.SearchListener<org.jamesframework.core.subset.SubsetSolution>
public void newBestSolution(org.jamesframework.core.search.Search<? extends org.jamesframework.core.subset.SubsetSolution> search, org.jamesframework.core.subset.SubsetSolution newBestSolution, org.jamesframework.core.problems.objectives.evaluations.Evaluation newBestSolutionEvaluation, org.jamesframework.core.problems.constraints.validations.Validation newBestSolutionValidation)
newBestSolution
in interface org.jamesframework.core.search.listeners.SearchListener<org.jamesframework.core.subset.SubsetSolution>
public void preprocessingStarted(String message)
CoreHunterListener
preprocessingStarted
in interface CoreHunterListener
message
- the message to be sent to the listenerpublic void preprocessingStopped(String message)
CoreHunterListener
preprocessingStopped
in interface CoreHunterListener
message
- the message to be sent to the listenerCopyright © 2017. All rights reserved.