Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

VampireKernel Class Reference

#include <q.hpp>

List of all members.

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 Clauserefutation () 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 ()
VampireKernelcurrentSession ()

Private Attributes

_Implementation * _implementation


Detailed Description

This software is an adaptation of the theorem prover Vampire for working with large knowledge bases in the KIF format, see http://www.prover.info for publications on Vampire.

Copyright (C) Andrei Voronkov and Alexandre Riazanov

Author:
Alexandre Riazanov <riazanov@cs.man.ac.uk>

Andrei Voronkov <voronkov@cs.man.ac.uk>, <andrei@voronkov.com>

Date:
06/06/2003
This software is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

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


Member Typedef Documentation

typedef long VampireKernel::TermWeightType
 


Member Enumeration Documentation

enum VampireKernel::TerminationReason
 

Enumeration values:
UnknownTerminationReason 
RefutationFound 
Satisfiable 
EmptyPassive 
MaxPassive 
MaxActive 
TimeLimitExpired 
AbortedOnAllocationFailure 
AbortedOnExternalInterrupt 
AbortedOnErrorSignal 
AbortedOnError 


Constructor & Destructor Documentation

VampireKernel::VampireKernel  ) 
 

VampireKernel::~VampireKernel  ) 
 


Member Function Documentation

void VampireKernel::beginInputClause ulong  clauseNumber,
void *  origin,
bool  goal,
bool  support
 

void VampireKernel::beginInputClauses  ) 
 

void VampireKernel::beginInputSignature  ) 
 

void VampireKernel::beginLiteral bool  positive,
ulong  predicateId
 

void VampireKernel::closeSession  ) 
 

VampireKernel* VampireKernel::currentSession  )  [static]
 

void VampireKernel::destroy  ) 
 

void VampireKernel::endInputClause  ) 
 

void VampireKernel::endInputClauses  ) 
 

void VampireKernel::endInputSignature  ) 
 

void VampireKernel::endLiteral  ) 
 

void VampireKernel::interpretFunction const char *  inputSymbol,
ulong  arity,
const char *  theory,
const char *  nativeSymbol
 

void VampireKernel::interpretPredicate const char *  inputSymbol,
ulong  arity,
const char *  theory,
const char *  nativeSymbol
 

bool VampireKernel::isAnswerPredicateId ulong  symbolId  )  const
 

bool VampireKernel::isInputSymbol ulong  symbolId  )  const
 

bool VampireKernel::isNumericConstantId ulong  symbolId  )  const
 

void VampireKernel::lookForAnotherAnswer  ) 
 

double VampireKernel::numericConstantValue ulong  symbolId  )  const
 

void VampireKernel::openSession const Options opt  ) 
 

void VampireKernel::receiveFunction ulong  symId  ) 
 

void VampireKernel::receiveNumericConstant double  value  ) 
 

void VampireKernel::receiveVariable ulong  varNum  ) 
 

const Clause* VampireKernel::refutation  )  const
 

void VampireKernel::registerInputFunction const char *  name,
ulong  arity,
ulong &  id
 

void VampireKernel::registerInputPredicate const char *  name,
ulong  arity,
bool  isAnswer,
ulong &  id
 

void VampireKernel::reportError  ) 
 

void VampireKernel::reportErrorSignal int  signalNumber  ) 
 

void VampireKernel::reportInterrupt int  signalNumber  ) 
 

void VampireKernel::resume  ) 
 

void VampireKernel::saturate ulong  nextVacantClauseId,
long  timeLimit
 

void VampireKernel::setSymbolPrecedence ulong  symId,
long  prec
 

void VampireKernel::setSymbolWeightConstPart ulong  symId,
const TermWeightType weight
 

float VampireKernel::statAverageNumOfSplitComponentsPerCl  )  const
 

long VampireKernel::statMemory  )  const
 

long VampireKernel::statNumOfBackSubsumedCl  )  const
 

long VampireKernel::statNumOfClRecycledDueToLackOfResources  )  const
 

long VampireKernel::statNumOfClSimplifiedByBackDemod  )  const
 

long VampireKernel::statNumOfClSimplifiedByBackDemodOnSplitBranches  )  const
 

long VampireKernel::statNumOfClSimplifiedByBuiltInTheories  )  const
 

long VampireKernel::statNumOfClSimplifiedByEqualityResol  )  const
 

long VampireKernel::statNumOfClSimplifiedByForwDemod  )  const
 

long VampireKernel::statNumOfClSimplifiedByForwDemodOnSplitBranches  )  const
 

long VampireKernel::statNumOfClSimplifiedByForwSubsResol  )  const
 

long VampireKernel::statNumOfCurrentlyActiveCl  )  const
 

long VampireKernel::statNumOfCurrentlyPassiveCl  )  const
 

long VampireKernel::statNumOfDifferentSplitComponents  )  const
 

long VampireKernel::statNumOfDiscardedClWithTooBigLiterals  )  const
 

long VampireKernel::statNumOfDiscardedClWithTooManyVariables  )  const
 

long VampireKernel::statNumOfDiscardedEquationalTautologies  )  const
 

long VampireKernel::statNumOfDiscardedPropositionalTautologies  )  const
 

long VampireKernel::statNumOfDiscardedTooBigCl  )  const
 

long VampireKernel::statNumOfDiscardedTooDeepCl  )  const
 

long VampireKernel::statNumOfForwSubsumedCl  )  const
 

long VampireKernel::statNumOfGeneratedCl  )  const
 

long VampireKernel::statNumOfMurederedActiveOrphans  )  const
 

long VampireKernel::statNumOfMurederedPassiveOrphans  )  const
 

long VampireKernel::statNumOfNewClDiscardedDueToLackOfMemory  )  const
 

long VampireKernel::statNumOfRetainedCl  )  const
 

long VampireKernel::statNumOfSelectedCl  )  const
 

long VampireKernel::statNumOfSplitCl  )  const
 

float VampireKernel::statTime  )  const
 

void VampireKernel::suspend  ) 
 

ulong VampireKernel::symbolArity ulong  symbolId  )  const
 

const char* VampireKernel::symbolPrintName ulong  symbolId  )  const
 

void VampireKernel::tabulate  ) 
 

TerminationReason VampireKernel::terminationReason  )  const
 

const char* VampireKernel::versionDescription  )  [static]
 

float VampireKernel::versionNumber  )  [static]
 


Member Data Documentation

_Implementation* VampireKernel::_implementation [private]
 


The documentation for this class was generated from the following file:
Generated on Sat Jun 28 15:09:00 2003 for Vampire by doxygen 1.3.2