public abstract class Instruction
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Instruction.Type
Enumeration of all repairing instructions types.
|
Modifier and Type | Field and Description |
---|---|
static int |
COST_UNIT
Default unit cost for edit operations and thus repairing instructions.
|
static int |
COST_ZERO
Undefined or zero cost named constant.
|
Constructor and Description |
---|
Instruction() |
Modifier and Type | Method and Description |
---|---|
abstract Edit |
generateEditOperation()
Translates the given repairng instruction into the edit operation.
|
abstract int |
getInstructionCost()
Returns the cost of the particular repairing instruction.
|
abstract Instruction.Type |
getInstructionType()
Returns the type of the repairing instruction.
|
abstract java.lang.String |
getTitleString()
Returns the readable title of the given repairing instruction.
|
public static int COST_UNIT
public static int COST_ZERO
public abstract Instruction.Type getInstructionType()
public abstract int getInstructionCost()
public abstract java.lang.String getTitleString()
public abstract Edit generateEditOperation()