public class ProMCancelTerminationCondition extends java.lang.Object implements TerminationCondition
Constructor and Description |
---|
ProMCancelTerminationCondition(org.processmining.framework.plugin.PluginContext context) |
ProMCancelTerminationCondition(org.processmining.framework.plugin.Progress progress) |
Modifier and Type | Method and Description |
---|---|
static nl.tue.astar.AStarThread.Canceller |
buildCanceller(org.processmining.framework.plugin.PluginContext context)
Build a canceller listening to the provided context (if possible)
|
static nl.tue.astar.AStarThread.Canceller |
buildCanceller(org.processmining.framework.plugin.Progress progress)
Build a canceller listening to the provided progress (if possible)
|
static nl.tue.astar.AStarThread.Canceller |
buildDummyCanceller()
Build a dummy canceller that will never actually cancel an execution
|
nl.tue.astar.AStarThread.Canceller |
getCanceller()
Returns the internally used Canceller object that can(!should!) be used
for instance to cancel executions of the FitnessReplay alignment
calculation.
|
boolean |
shouldTerminate(PopulationData<?> populationData)
The condition is queried via this method to determine whether or not
evolution should finish at the current point.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public ProMCancelTerminationCondition(org.processmining.framework.plugin.PluginContext context)
public ProMCancelTerminationCondition(org.processmining.framework.plugin.Progress progress)
public boolean shouldTerminate(PopulationData<?> populationData)
TerminationCondition
shouldTerminate
in interface TerminationCondition
populationData
- Information about the current state of evolution. This may be
used to determine whether evolution should continue or not.public static nl.tue.astar.AStarThread.Canceller buildCanceller(org.processmining.framework.plugin.PluginContext context)
context
- public static nl.tue.astar.AStarThread.Canceller buildCanceller(org.processmining.framework.plugin.Progress progress)
progress
- public static nl.tue.astar.AStarThread.Canceller buildDummyCanceller()
public nl.tue.astar.AStarThread.Canceller getCanceller()