|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object viper.comparison.EvaluationParameters.ScopeRules
Rules for what attributes and descriptors are to be regarded as visible or important.
Constructor Summary | |
EvaluationParameters.ScopeRules(Evaluation current)
Constructs a new, empty set of scope rules. |
|
EvaluationParameters.ScopeRules(java.util.Map evas)
Constructs a new set of scope rules. |
Method Summary | |
boolean |
comparable(Descriptor T,
Descriptor C)
Determine if two descriptors are comparable. |
java.util.Map |
getAllMeasuresFor(Descriptor desc)
Return all current mappings for the given descriptor type |
java.util.Iterator |
getInScopeAttributesFor(Descriptor desc)
Gets the names of the attributes that are in scope. |
Equivalencies |
getMap()
Gets the ontology mapping this set of scope rules uses. |
AttrMeasure |
getMeasure(Descriptor desc,
java.lang.String attr)
Gets the major measure for the given attribute. |
boolean |
inScope(Descriptor desc)
Determine if the descriptor's type is compatable with the current set of evaluations. |
boolean |
isOutputableCandidate(Descriptor desc)
Determine if the candidate descriptor meets the output scoping rules. |
boolean |
isOutputableTarget(Descriptor desc)
Determine if the target descriptor meets the output scoping rules. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EvaluationParameters.ScopeRules(java.util.Map evas)
evas
- the associated ontology mappingpublic EvaluationParameters.ScopeRules(Evaluation current)
current
- map of descriptors to their evaluationsMethod Detail |
public Equivalencies getMap()
public boolean comparable(Descriptor T, Descriptor C)
T
- the targetC
- the candidate
public boolean isOutputableTarget(Descriptor desc)
desc
- a target descriptor
false
indicates a don't-care descriptor.public boolean isOutputableCandidate(Descriptor desc)
desc
- a candidate descriptor
false
indicates a don't-care descriptor.public boolean inScope(Descriptor desc)
desc
- the descriptor to check
public AttrMeasure getMeasure(Descriptor desc, java.lang.String attr)
getAllMeasuresFor(Descriptor)
method.
desc
- the descriptor typeattr
- the attribute
public java.util.Map getAllMeasuresFor(Descriptor desc)
desc
- the descriptor type to look up
public java.util.Iterator getInScopeAttributesFor(Descriptor desc)
desc
- The type of descriptor to check for scope.
java.util.Iterator
containing
String
s
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |