Class CommonModelResult
java.lang.Object
edu.udel.cis.vsl.sarl.prove.common.CommonValidityResult
edu.udel.cis.vsl.sarl.prove.common.CommonModelResult
- All Implemented Interfaces:
ModelResult,ValidityResult
Straightforward implementation of
ModelResult using a Java
Map to store the mapping of symbolic constants to their concrete
values.-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.udel.cis.vsl.sarl.IF.ValidityResult
ValidityResult.ResultType -
Constructor Summary
ConstructorsConstructorDescriptionConstructs new ModelResult with given model. -
Method Summary
Modifier and TypeMethodDescriptiongetModel()Returns the model, a map assigning a concrete symbolic expression value to each symbolic constant occurring in the query.Methods inherited from class edu.udel.cis.vsl.sarl.prove.common.CommonValidityResult
getResultType, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface edu.udel.cis.vsl.sarl.IF.ValidityResult
getResultType
-
Constructor Details
-
CommonModelResult
Constructs new ModelResult with given model. The result type will beValidityResult.ResultType.NO.- Parameters:
model- the model, a map assigning a concrete symbolic expression value to each symbolic constant occurring in the query; may be null
-
-
Method Details
-
getModel
Returns the model, a map assigning a concrete symbolic expression value to each symbolic constant occurring in the query. May be null.- Specified by:
getModelin interfaceModelResult- Returns:
- the model or null
-