public class EvaluationSet
extends java.lang.Object
EvalBounds objects representing a larger evaluation set.| Modifier and Type | Field and Description |
|---|---|
protected java.util.ArrayList<EvalBounds> |
evaluationList
List of
EvalBounds evaluations |
| Modifier | Constructor and Description |
|---|---|
protected |
EvaluationSet(java.util.ArrayList<EvalBounds> thisEvalSet)
Create a new instance of EvalutionSet.
|
| Modifier and Type | Method and Description |
|---|---|
EvalBounds |
get(int index)
Get the
EvalBounds object at the specified index. |
int |
size()
Get the number of elements in the list.
|
static EvaluationSet |
toSet(java.util.ArrayList<?> thisEvalSet)
Create a new instance of EvalutionSet.
|
static EvaluationSet |
toSet(org.ai_heuristic.eval.metric.ReplySet replySet)
Create a new instance of EvalutionSet.
|
protected java.util.ArrayList<EvalBounds> evaluationList
EvalBounds evaluationsprotected EvaluationSet(java.util.ArrayList<EvalBounds> thisEvalSet)
thisEvalSet - a list of EvalBounds objects representing a set of evaluations.public EvalBounds get(int index)
EvalBounds object at the specified index.index - the index in the list.public int size()
evaluationList.public static EvaluationSet toSet(java.util.ArrayList<?> thisEvalSet)
thisEvalSet - a list, preferably of EvalBounds objects representing a set of evaluations.
If the objects are a different type, an EvalBounds wrapper is created.public static EvaluationSet toSet(org.ai_heuristic.eval.metric.ReplySet replySet)
replySet - a reply set that should store a ArrayList of objects.
If the objects are a different type, an EvalBounds wrapper is created.