class documentation

class PredHolder(object): (source)

View In Hierarchy

This class will be used by a dictionary that will store information about predicates to be used by the ClosedWorldProver.

The 'signatures' property is a list of tuples defining signatures for which the predicate is true. For instance, 'see(john, mary)' would be result in the signature '(john,mary)' for 'see'.

The second element of the pair is a list of pairs such that the first element of the pair is a tuple of variables and the second element is an expression of those variables that makes the predicate true. For instance, 'all x.all y.(see(x,y) -> know(x,y))' would result in "((x,y),('see(x,y)'))" for 'know'.

Method __init__ Undocumented
Method __repr__ Undocumented
Method __str__ Undocumented
Method append_prop Undocumented
Method append_sig Undocumented
Method validate_sig_len Undocumented
Instance Variable properties Undocumented
Instance Variable signature_len Undocumented
Instance Variable signatures Undocumented
def __init__(self): (source)

Undocumented

def __repr__(self): (source)

Undocumented

def __str__(self): (source)

Undocumented

def append_prop(self, new_prop): (source)

Undocumented

def append_sig(self, new_sig): (source)

Undocumented

def validate_sig_len(self, new_sig): (source)

Undocumented

properties: list = (source)

Undocumented

signature_len = (source)

Undocumented

signatures: list = (source)

Undocumented