Package | Description |
---|---|
cz.cuni.mff.corrector.cache |
Caching manager implementations.
|
cz.cuni.mff.corrector.corrector |
Implementations of correction algorithms.
|
cz.cuni.mff.corrector.intent |
Correction intents implementation.
|
cz.cuni.mff.corrector.repair |
Objects for encapsulating computed repairs.
|
cz.cuni.mff.corrector.testing |
Profiling tests for measuring performance.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Item> |
IntentStoreFlat.getStoredItems(Intent.Type intentType) |
java.util.Collection<Item> |
SignatureStoreFlat.getStoredItems(Intent.Type intentType) |
java.util.Collection<Item> |
SignatureStoreNested.getStoredItems(Intent.Type intentType) |
java.util.Collection<Item> |
Store.getStoredItems(Intent.Type intentType)
Returns the list with all stored items of a particular type.
|
Modifier and Type | Field and Description |
---|---|
static java.util.EnumSet<Intent.Type> |
Corrector.defaultIntents
Default choice of intent types allowed in the correction.
|
protected java.util.EnumSet<Intent.Type> |
Corrector.enabledIntents
Set of selected intent types allowed in the correction.
|
Modifier and Type | Method and Description |
---|---|
abstract Intent.Type |
Intent.getIntentType()
Returns the type of the given correction intent.
|
Intent.Type |
IntentCorrect.getIntentType() |
Intent.Type |
IntentDelete.getIntentType() |
Intent.Type |
IntentInsert.getIntentType() |
Intent.Type |
IntentRename.getIntentType() |
Intent.Type |
IntentRepair.getIntentType() |
static Intent.Type |
Intent.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Intent.Type[] |
Intent.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract java.util.Set<Intent.Type> |
Intent.getAllowedIntents()
Returns the set of correction intent types allowed for nesting.
|
java.util.Set<Intent.Type> |
IntentCorrect.getAllowedIntents() |
java.util.Set<Intent.Type> |
IntentDelete.getAllowedIntents() |
java.util.Set<Intent.Type> |
IntentInsert.getAllowedIntents() |
java.util.Set<Intent.Type> |
IntentRename.getAllowedIntents() |
java.util.Set<Intent.Type> |
IntentRepair.getAllowedIntents() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<Intent> |
Intent.generateNestedIntents(Intent parentIntent,
int initialStratum,
java.lang.String initialState,
Grammar treeGrammar,
java.util.EnumSet<Intent.Type> enabledIntents)
Generates the set of all permitted nested correction intents.
|
Modifier and Type | Method and Description |
---|---|
abstract Intent.Type |
NodeRepair.getIntentType()
Returns the type of the node repair represented by the intent type.
|
Intent.Type |
NodeRepairDeleteSubtree.getIntentType() |
Intent.Type |
NodeRepairInsertSubtree.getIntentType() |
Intent.Type |
NodeRepairRenameSubtree.getIntentType() |
Intent.Type |
NodeRepairRepairSubtree.getIntentType() |
Intent.Type |
SequenceRepair.getIntentType()
Returns the type of the associated correction intent.
|
Constructor and Description |
---|
SequenceRepair(Graph correctionGraph,
Intent.Type intentType)
Creates a new instance of the sequence repair.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<Intent.Type,java.lang.Long> |
Report.getTaskCounters()
Returns the numbers of required tasks separated by intent types.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
Report.getTaskCounters(Intent.Type intentType)
Returns the numbers of required tasks for the given intent type.
|
void |
Report.increaseTaskCounters(Intent.Type intentType)
Increases the current value of required tasks count by 1.
|