Class EpsilonProgressCollector
java.lang.Object
org.moeaframework.analysis.runtime.EpsilonProgressCollector
- All Implemented Interfaces:
- Collector
Collects the number of ε-progress improvements detected in an 
EpsilonBoxEvolutionaryAlgorithm.- 
Constructor SummaryConstructorsConstructorDescriptionConstructs an unattached collector for recording the number of ε-progress improvements detected in anEpsilonBoxEvolutionaryAlgorithm.Constructs a collector for recording the number of ε-progress improvements detected in the specifiedEpsilonBoxEvolutionaryAlgorithm.
- 
Method SummaryModifier and TypeMethodDescriptionReturns a new instance of this collector which has been attached to the specified object as identified by the attach point returned throughCollector.getAttachPoint().voidcollect(ResultEntry result) Collects the requested information from the object, storing the data to the given result.Returns the attach point describing where this collector is attached.static intReads the number of dominating improvements from the result.static intgetNumberOfImprovements(ResultEntry result) Reads the number of improvements from the result.
- 
Constructor Details- 
EpsilonProgressCollectorpublic EpsilonProgressCollector()Constructs an unattached collector for recording the number of ε-progress improvements detected in anEpsilonBoxEvolutionaryAlgorithm.
- 
EpsilonProgressCollectorConstructs a collector for recording the number of ε-progress improvements detected in the specifiedEpsilonBoxEvolutionaryAlgorithm.- Parameters:
- algorithm- the algorithm this collector records data from
 
 
- 
- 
Method Details- 
collectDescription copied from interface:CollectorCollects the requested information from the object, storing the data to the given result. This method must only be invoked after this collector has been attached to an appropriate object.
- 
getAttachPointDescription copied from interface:CollectorReturns the attach point describing where this collector is attached. The matched object should be unique.- Specified by:
- getAttachPointin interface- Collector
- Returns:
- the attach point describing where this collector is attached
 
- 
attachDescription copied from interface:CollectorReturns a new instance of this collector which has been attached to the specified object as identified by the attach point returned throughCollector.getAttachPoint().
- 
getNumberOfImprovementsReads the number of improvements from the result.- Parameters:
- result- the result
- Returns:
- the number of improvements
 
- 
getNumberOfDominatingImprovementsReads the number of dominating improvements from the result.- Parameters:
- result- the result
- Returns:
- the number of dominating improvements
 
 
-