Package io.github.cvc5
Class SynthResult
- java.lang.Object
 - 
- io.github.cvc5.SynthResult
 
 
- 
public class SynthResult extends java.lang.ObjectEncapsulation of a solver synth result. This is the return value of the API methods: -Solver.checkSynth()-Solver.checkSynthNext()which we call synthesis queries. This class indicates whether the synthesis query has a solution, has no solution, or is unknown. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected longpointer 
- 
Constructor Summary
Constructors Constructor Description SynthResult()Null synthResult 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeletePointer()protected voiddeletePointer(long pointer)longgetPointer()booleanhasNoSolution()booleanhasSolution()booleanisNull()booleanisUnknown()java.lang.StringtoString()protected java.lang.StringtoString(long pointer) 
 - 
 
- 
- 
Method Detail
- 
deletePointer
protected void deletePointer(long pointer)
 
- 
isNull
public boolean isNull()
- Returns:
 - True if SynthResult is empty, i.e., a nullary SynthResult, and not an actual result returned from a synthesis query.
 
 
- 
hasSolution
public boolean hasSolution()
- Returns:
 - True if the synthesis query has a solution.
 
 
- 
hasNoSolution
public boolean hasNoSolution()
- Returns:
 - True if the synthesis query has no solution. In this case, it was determined there was no solution.
 
 
- 
isUnknown
public boolean isUnknown()
- Returns:
 - True if the result of the synthesis query could not be determined.
 
 
- 
toString
protected java.lang.String toString(long pointer)
- Returns:
 - A string representation of this result.
 
 
- 
getPointer
public long getPointer()
 
- 
deletePointer
public void deletePointer()
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -