public class MoveImpl<L,M>
extends java.lang.Object
Constructor and Description |
---|
MoveImpl(L logMove,
M modelMove,
int cost)
constructs a move.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getCost()
Returns the cost of this move
|
L |
getEventLabel()
Returns the event label of this move or null if the type is MOVEMODEL;
|
M |
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 int getCost()
public L getEventLabel()
public M getTransition()
public Move.Type getType()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object