Package | Description |
---|---|
cz.cuni.mff.corrector.edit |
Edit operations for transforming trees.
|
cz.cuni.mff.corrector.instruction |
Repairing instructions for encoding repairs.
|
cz.cuni.mff.corrector.intent |
Correction intents implementation.
|
cz.cuni.mff.corrector.repair |
Objects for encapsulating computed repairs.
|
Modifier and Type | Class and Description |
---|---|
class |
EditAddLeaf
Implementation of the add leaf edit operation.
|
class |
EditAddNode
Implementation of the add node edit operation.
|
class |
EditRemoveLeaf
Implementation of the remove leaf edit operation.
|
class |
EditRemoveNode
Implementation of the remove node edit operation.
|
class |
EditRenameLabel
Implementation of the rename label edit operation.
|
Modifier and Type | Method and Description |
---|---|
abstract Edit |
Edit.cloneIdenticalOperation()
Creates an independent clone of the edit operation.
|
abstract Edit |
Edit.cloneShiftedOperation(int incrementValue)
Creates an independent clone of the edit with applied modAlt.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Edit> |
Edit.cloneIdenticalSequence(java.util.List<Edit> sourceList)
Creates an independent clone of all source operations.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Edit> |
Edit.cloneIdenticalSequence(java.util.List<Edit> sourceList)
Creates an independent clone of all source operations.
|
static void |
Edit.cloneIdenticalSequenceAfter(java.util.List<Edit> sourceList,
java.util.List<Edit> outputList)
Creates an independent clone of all source operations.
|
static void |
Edit.cloneIdenticalSequenceAfter(java.util.List<Edit> sourceList,
java.util.List<Edit> outputList)
Creates an independent clone of all source operations.
|
static void |
Edit.cloneIdenticalSequenceBefore(java.util.List<Edit> sourceList,
java.util.List<Edit> outputList)
Creates an independent clone of all source operations.
|
static void |
Edit.cloneIdenticalSequenceBefore(java.util.List<Edit> sourceList,
java.util.List<Edit> outputList)
Creates an independent clone of all source operations.
|
static void |
Edit.cloneShiftedSequence(java.util.List<Edit> sourceList,
java.util.List<Edit> outputList,
int incrementValue)
Creates an independent and shifted clone of all source operations.
|
static void |
Edit.cloneShiftedSequence(java.util.List<Edit> sourceList,
java.util.List<Edit> outputList,
int incrementValue)
Creates an independent and shifted clone of all source operations.
|
Modifier and Type | Method and Description |
---|---|
abstract Edit |
Instruction.generateEditOperation()
Translates the given repairng instruction into the edit operation.
|
Modifier and Type | Method and Description |
---|---|
static void |
IntentDelete.generateIntentFix(java.util.List<Edit> nodeEdit,
java.util.List<Mend> sequenceMends)
Generates all mends for the particular intent repair of delete type.
|
static void |
IntentInsert.generateIntentFix(java.util.List<Edit> nodeEdit,
java.util.List<Mend> sequenceMends)
Generates all mends for the particular intent repair of insert type.
|
static void |
IntentRename.generateIntentFix(java.util.List<Edit> nodeEdit,
java.util.List<Mend> sequenceMends)
Generates all mends for the particular intent repair of rename type.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Edit> |
NodeRepair.generateNodeFix()
Transformes the sequence of instructions into edit operations.
|
java.util.List<Edit> |
Mend.getEditSequence()
Returns the reference to the internal edit sequence container.
|
java.util.List<java.util.List<Edit>> |
Repair.getIntentFix()
Returns the set of all found repairing edit sequences.
|
Constructor and Description |
---|
Mend(java.util.List<Edit> editSequence,
int positionShift)
Creates a new mend instance.
|