Package rubacon :: Package generators :: Module PrologGenerator :: Class Signature
[hide private]
[frames] | no frames]

Class Signature

source code


Create a signature for the given head -> target values.

Instance Methods [hide private]
 
__init__(self, model, head=None, target=None, predicate=None)
Create a new Signature from head to target
source code
 
__create_dep_graph(self)
Create a graph with the dependencies of the model
source code
 
__shortest_path(self)
Search the shortest path between head and target
source code
 
get_arg_count(self)
get the number of arguments of the predicate
source code
 
get_position(self, attrName)
Get the position of the named attribute
source code
 
get_attribute_name(self, pos)
Get the name of the attribute at pos
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, model, head=None, target=None, predicate=None)
(Constructor)

source code 

Create a new Signature from head to target

Overrides: object.__init__