|
Public Types |
typedef long | TermWeightType |
enum | TerminationReason {
UnknownTerminationReason,
RefutationFound,
Satisfiable,
EmptyPassive,
MaxPassive,
MaxActive,
TimeLimitExpired,
AbortedOnAllocationFailure,
AbortedOnExternalInterrupt,
AbortedOnErrorSignal,
AbortedOnError
} |
Public Member Functions |
| VampireKernel () |
| ~VampireKernel () |
void | openSession (const Options &opt) |
void | closeSession () |
void | destroy () |
void | beginInputSignature () |
void | endInputSignature () |
void | registerInputFunction (const char *name, ulong arity, ulong &id) |
void | registerInputPredicate (const char *name, ulong arity, bool isAnswer, ulong &id) |
void | setSymbolWeightConstPart (ulong symId, const TermWeightType &weight) |
void | setSymbolPrecedence (ulong symId, long prec) |
void | interpretFunction (const char *inputSymbol, ulong arity, const char *theory, const char *nativeSymbol) |
void | interpretPredicate (const char *inputSymbol, ulong arity, const char *theory, const char *nativeSymbol) |
void | beginInputClauses () |
void | endInputClauses () |
void | beginInputClause (ulong clauseNumber, void *origin, bool goal, bool support) |
void | endInputClause () |
void | beginLiteral (bool positive, ulong predicateId) |
void | endLiteral () |
void | receiveFunction (ulong symId) |
void | receiveNumericConstant (double value) |
void | receiveVariable (ulong varNum) |
void | saturate (ulong nextVacantClauseId, long timeLimit) |
void | lookForAnotherAnswer () |
void | suspend () |
void | resume () |
void | tabulate () |
void | reportInterrupt (int signalNumber) |
void | reportErrorSignal (int signalNumber) |
void | reportError () |
TerminationReason | terminationReason () const |
const Clause * | refutation () const |
bool | isNumericConstantId (ulong symbolId) const |
bool | isInputSymbol (ulong symbolId) const |
bool | isAnswerPredicateId (ulong symbolId) const |
ulong | symbolArity (ulong symbolId) const |
const char * | symbolPrintName (ulong symbolId) const |
double | numericConstantValue (ulong symbolId) const |
float | statTime () const |
long | statMemory () const |
long | statNumOfGeneratedCl () const |
long | statNumOfDiscardedEquationalTautologies () const |
long | statNumOfDiscardedPropositionalTautologies () const |
long | statNumOfForwSubsumedCl () const |
long | statNumOfClSimplifiedByForwSubsResol () const |
long | statNumOfClSimplifiedByForwDemod () const |
long | statNumOfClSimplifiedByForwDemodOnSplitBranches () const |
long | statNumOfClSimplifiedByBuiltInTheories () const |
long | statNumOfClSimplifiedByEqualityResol () const |
long | statNumOfSplitCl () const |
long | statNumOfDifferentSplitComponents () const |
float | statAverageNumOfSplitComponentsPerCl () const |
long | statNumOfDiscardedClWithTooBigLiterals () const |
long | statNumOfDiscardedTooDeepCl () const |
long | statNumOfDiscardedTooBigCl () const |
long | statNumOfDiscardedClWithTooManyVariables () const |
long | statNumOfNewClDiscardedDueToLackOfMemory () const |
long | statNumOfRetainedCl () const |
long | statNumOfSelectedCl () const |
long | statNumOfBackSubsumedCl () const |
long | statNumOfClSimplifiedByBackDemod () const |
long | statNumOfClSimplifiedByBackDemodOnSplitBranches () const |
long | statNumOfMurederedPassiveOrphans () const |
long | statNumOfMurederedActiveOrphans () const |
long | statNumOfClRecycledDueToLackOfResources () const |
long | statNumOfCurrentlyPassiveCl () const |
long | statNumOfCurrentlyActiveCl () const |
Static Public Member Functions |
float | versionNumber () |
const char * | versionDescription () |
VampireKernel * | currentSession () |
Private Attributes |
_Implementation * | _implementation |
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA