de.grogra.rgg
public abstract class ConcurrentTask extends java.lang.Object implements PartialTask, java.lang.Runnable, java.io.Serializable
Graph.getQueues()). This
includes XL rule application and quasi-parallel assignments to
XL properties.
The task is implemented by the run method of the
superinterface Runnable as in the following example:
ConcurrentTask task = new ConcurrentTask ()
{
public void run ()
[
X ==> Y;
a:A ::> a[value] :+= 1;
]
};
A concurrent task is added to an instance of
ConcurrentTasks, then the invocation
of solve on this instance will execute
all added concurrent tasks.
| Constructor and Description |
|---|
ConcurrentTask() |
| Modifier and Type | Method and Description |
|---|---|
GraphState |
getGraphState() |
void |
markProcessed() |
void |
setGraphState(GraphState state) |
public GraphState getGraphState()
public void markProcessed()
public void setGraphState(GraphState state)