|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Field Summary | |
static int |
BINARY
An arc directed from an individual source node to a different individual target node. |
static int |
GENERIC
An arc that can have several source and several target nodes. |
static int |
HYPER
An arc that might have more than one source node but only a single target node. |
static int |
NODE
A node arc is a circular arc pointing back at itself; a single node is both the source and the target of this arc. |
static int |
SCHEDULE
An arc related to the js module: a scheduler arc. |
| Method Summary | |
int |
getArcType()
Returns value indicating type of Arc |
int |
getComplexity()
Returns a value representing the complexity of the arc |
void |
propagate()
Attempts to reduce values in target node domain based on values in all source nodes |
void |
propagate(Node src)
Attempts to reduce values in target node domain based on values in given source node |
void |
setAlgorithmStrength(int strength)
Sets the strength of the algorithm that is propagating the arc. |
void |
setUseDomainDeltas(boolean useDeltas)
Sets a flag indicating if the algorithm wants domain delta's to be consulted when arc is propagating. |
| Field Detail |
public static final int NODE
public static final int BINARY
public static final int HYPER
public static final int GENERIC
public static final int SCHEDULE
| Method Detail |
public int getArcType()
public void setAlgorithmStrength(int strength)
public void setUseDomainDeltas(boolean useDeltas)
public void propagate()
throws jopt.csp.variable.PropagationFailureException
jopt.csp.variable.PropagationFailureException - If domain of target node becomes empty
public void propagate(Node src)
throws jopt.csp.variable.PropagationFailureException
src - Source node that caused propagation to occur
jopt.csp.variable.PropagationFailureException - If domain of target node becomes emptypublic int getComplexity()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||