S
- The type of formulaspublic class PostulateEvaluationReport<S extends Formula>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private PostulateEvaluatable<S> |
ev
The approach that is evaluated
|
private java.util.Map<Postulate<S>,java.util.Collection<java.util.Collection<S>>> |
negativeInstances
the instances that violate the given postulate
|
private java.util.Map<Postulate<S>,java.util.Collection<java.util.Collection<S>>> |
notApplicableInstances
the instances that are not applicable for the given postulate (thus
also satisfy the postulate)
|
private java.util.Map<Postulate<S>,java.util.Collection<java.util.Collection<S>>> |
positiveInstances
the instances that satisfy the given postulate (and are applicable)
|
Constructor and Description |
---|
PostulateEvaluationReport(PostulateEvaluatable<S> ev,
java.util.List<Postulate<S>> postulates)
Creates a new evaluation report for the given approach and
set of postulates
|
Modifier and Type | Method and Description |
---|---|
void |
addNegativeInstance(Postulate<S> postulate,
java.util.Collection<S> instance)
Adds a negative instance for the given postulate
|
void |
addNotApplicableInstance(Postulate<S> postulate,
java.util.Collection<S> instance)
Adds an instance that is not applicable for the given postulate
|
void |
addPositiveInstance(Postulate<S> postulate,
java.util.Collection<S> instance)
Adds a positive instance for the given postulate (that is applicable)
|
java.lang.String |
toString() |
private PostulateEvaluatable<S extends Formula> ev
private java.util.Map<Postulate<S extends Formula>,java.util.Collection<java.util.Collection<S extends Formula>>> positiveInstances
private java.util.Map<Postulate<S extends Formula>,java.util.Collection<java.util.Collection<S extends Formula>>> notApplicableInstances
public PostulateEvaluationReport(PostulateEvaluatable<S> ev, java.util.List<Postulate<S>> postulates)
ev
- some approachpostulates
- a set of postulatespublic void addPositiveInstance(Postulate<S> postulate, java.util.Collection<S> instance)
postulate
- some postulateinstance
- some instancepublic void addNotApplicableInstance(Postulate<S> postulate, java.util.Collection<S> instance)
postulate
- some postulateinstance
- some instancepublic void addNegativeInstance(Postulate<S> postulate, java.util.Collection<S> instance)
postulate
- some postulateinstance
- some instancepublic java.lang.String toString()
toString
in class java.lang.Object