Move.Factory, Move.NaiveImpl<L,T>, Move.Type, Move.Util| Constructor and Description |
|---|
NaiveImpl(L logMove,
T modelMove,
double cost)
constructs a move.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
double |
getCost()
Returns the cost of this move
|
L |
getEventLabel()
Returns the event label of this move or null if the type is
MOVEMODEL;
|
T |
getTransition()
Returns the model label of this move or null if the type is MOVELOG;
|
Move.Type |
getType()
returns the type of this move.
|
java.lang.String |
toString() |
public double getCost()
public L getEventLabel()
getEventLabel in interface Move<L,T>public T getTransition()
getTransition in interface Move<L,T>public Move.Type getType()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object