public class InstructionRemoveLeaf extends Instruction
Instruction.Type
COST_UNIT, COST_ZERO
Constructor and Description |
---|
InstructionRemoveLeaf()
Creates a new instance of a remove leaf instruction.
|
Modifier and Type | Method and Description |
---|---|
EditRemoveLeaf |
generateEditOperation()
Translates the given repairng instruction into the edit operation.
|
int |
getInstructionCost()
Returns the cost of the particular repairing instruction.
|
Instruction.Type |
getInstructionType()
Returns the type of the repairing instruction.
|
java.lang.String |
getTitleString()
Returns the readable title of the given repairing instruction.
|
public InstructionRemoveLeaf()
public Instruction.Type getInstructionType()
Instruction
getInstructionType
in class Instruction
public int getInstructionCost()
Instruction
getInstructionCost
in class Instruction
public java.lang.String getTitleString()
Instruction
getTitleString
in class Instruction
public EditRemoveLeaf generateEditOperation()
Instruction
generateEditOperation
in class Instruction