|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectviper.comparison.EvaluationParameters
Describes a set of parameters for setting up an evaluation.
| Nested Class Summary | |
class |
EvaluationParameters.ScopeRules
Rules for what attributes and descriptors are to be regarded as visible or important. |
| Field Summary | |
static viper.comparison.EvaluationParameters.DescNameComparator |
descriptorComparator
Sorts descriptors by their full name. |
| Constructor Summary | |
EvaluationParameters(DescriptorConfigs descriptorProtos)
Creates a new instance of EvaluationParameters |
|
| Method Summary | |
RuleHolder |
getCandidateInputFilter()
Gets the rules for candidate descriptors that are worthy of even parsing. |
java.util.Iterator |
getEvas()
Gets all evaluations. |
Equivalencies |
getMap()
Get the map from target to candidate descriptors and attributes. |
EvaluationParameters.ScopeRules |
getScopeRulesFor(Evaluation current)
Get the scope rules for the the given evaluation. |
RuleHolder |
getTargetInputFilter()
Gets the rules for target descriptors that are worthy of even parsing. |
void |
parse(VReader reader,
int level,
int targetMatch)
Parses the given evaluation parameters file, using the given level and match filter information, which must somehow be acquired elsewhere, for now. |
void |
printTerseParameters(java.io.PrintWriter raw)
Prints the parameters in raw format. |
void |
printVerboseParameters(java.io.PrintWriter out)
Prints the parameters in long form. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final viper.comparison.EvaluationParameters.DescNameComparator descriptorComparator
| Constructor Detail |
public EvaluationParameters(DescriptorConfigs descriptorProtos)
descriptorProtos - the descriptor schema| Method Detail |
public RuleHolder getTargetInputFilter()
public RuleHolder getCandidateInputFilter()
public void parse(VReader reader,
int level,
int targetMatch)
reader - the source to parselevel - the level to bring the comparisons to, if using themtargetMatch - the type of match filter to use, if applicablepublic Equivalencies getMap()
public void printTerseParameters(java.io.PrintWriter raw)
raw - the raw output streampublic void printVerboseParameters(java.io.PrintWriter out)
out - the legible output streampublic EvaluationParameters.ScopeRules getScopeRulesFor(Evaluation current)
current - the evaluation
public java.util.Iterator getEvas()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||