|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.unima.alcomox.algorithms.ConflictStore
public class ConflictStore
| Field Summary | |
|---|---|
protected AlcomoLogger |
log
|
| Constructor Summary | |
|---|---|
ConflictStore(EfficientReasoner reasoner,
Mapping mapping)
Construct a conflict store where some conflicts are precomputed due to efficient reasoning. |
|
ConflictStore(Mapping mapping)
Constructs an empty conflict store where no efficient component is used for pre processing. |
|
| Method Summary | |
|---|---|
java.util.Set<java.lang.Integer> |
getConflictingIndices(java.util.ArrayList<java.lang.Integer> indices)
Checks whether there are still some conflicts unresolved with respect to a list of active correspondence indices. |
java.util.Set<java.lang.Integer> |
getConflictingIndices(IndexMarker m)
Checks whether there are still some conflicts unresolved with respect to the index marker. |
java.util.Set<java.lang.Integer> |
getIndicesAndSetConflicts(Mapping mapping)
Returns the indices that refer to the correspondences of a given mapping and sets these indices as additional conflicts.0000000000000 |
int |
getNumOfInvolvedConflicts(int index,
IndexMarker m)
|
int |
getTopWeightedConflictingIndex(IndexMarker m)
Computes the next index that has to be removed following a greedy strategy that first chooses according to conflicts in which a correspondence is involved, and next takes uses the confidence value. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AlcomoLogger log
| Constructor Detail |
|---|
public ConflictStore(EfficientReasoner reasoner,
Mapping mapping)
reasoner - The efficient reasoning component.mapping - The mapping to be analyzed.public ConflictStore(Mapping mapping)
mapping - The mapping to be anaylzed.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Set<java.lang.Integer> getConflictingIndices(IndexMarker m)
m - An index marker which marks those correspondences active resp. passive in an mapping.
public int getTopWeightedConflictingIndex(IndexMarker m)
m - An index marker that defines the active correspondences
public int getNumOfInvolvedConflicts(int index,
IndexMarker m)
public java.util.Set<java.lang.Integer> getConflictingIndices(java.util.ArrayList<java.lang.Integer> indices)
indices - An arraylist of indices that contains all active correspondence indices.
public java.util.Set<java.lang.Integer> getIndicesAndSetConflicts(Mapping mapping)
mapping - The mapping that is a minimal conflict set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||