edu::tum::cs::rpt::RPT2Logic Class Reference

List of all members.

Classes

class  DistributionValue
class  ObjectType
class  Path
class  RelationType

Public Member Functions

String createImplication (Path path, int idx, boolean bConsequentIdx)
ObjectType getCoreObject ()
Vector< String > getFormulas (boolean calculateWeights, boolean addReverseImplications)
 RPT2Logic (String attribute, String coreRelationName)
 RPT2Logic (String attribute, String coreObjectName, String coreObjectVar)
void setCoreItemVar (String var)
ObjectType setObjectType (String objName, String varName, String precondition, ObjectType[] referencedRelations)
void setPrecondition (String precond)
void setRelationType (String itemName, ObjectType from, ObjectType to)
void walkTree (RPNode root)

Protected Member Functions

String getAtom (Path path, String predicate, String item, String value)
boolean isBooleanValue (String value)
void walkTree (RPNode node, Path path)

Protected Attributes

String attribute
String coreItemName
String coreItemVar
ObjectType coreObject
String currentNodeObjectVar
HashMap< String, ObjectTypeobjects
Vector< Pathpaths
String precondition = ""
HashMap< String, RelationTyperelations
double totalSamplesInTree
boolean walkRecursive

Detailed Description

Definition at line 12 of file RPT2Logic.java.


Constructor & Destructor Documentation

edu::tum::cs::rpt::RPT2Logic::RPT2Logic ( String  attribute,
String  coreObjectName,
String  coreObjectVar 
) [inline]

constructor to use if the core item is an object

Parameters:
attribute 
coreObjectName 
coreObjectVar 

Definition at line 36 of file RPT2Logic.java.

edu::tum::cs::rpt::RPT2Logic::RPT2Logic ( String  attribute,
String  coreRelationName 
) [inline]

constructor to use if the core item is a relation

Parameters:
attribute 
coreRelationName 

Definition at line 51 of file RPT2Logic.java.


Member Function Documentation

String edu::tum::cs::rpt::RPT2Logic::createImplication ( Path  path,
int  idx,
boolean  bConsequentIdx 
) [inline]

Definition at line 288 of file RPT2Logic.java.

String edu::tum::cs::rpt::RPT2Logic::getAtom ( Path  path,
String  predicate,
String  item,
String  value 
) [inline, protected]

Definition at line 135 of file RPT2Logic.java.

ObjectType edu::tum::cs::rpt::RPT2Logic::getCoreObject (  )  [inline]

Definition at line 60 of file RPT2Logic.java.

Vector<String> edu::tum::cs::rpt::RPT2Logic::getFormulas ( boolean  calculateWeights,
boolean  addReverseImplications 
) [inline]

Definition at line 341 of file RPT2Logic.java.

boolean edu::tum::cs::rpt::RPT2Logic::isBooleanValue ( String  value  )  [inline, protected]

Definition at line 98 of file RPT2Logic.java.

void edu::tum::cs::rpt::RPT2Logic::setCoreItemVar ( String  var  )  [inline]

Definition at line 64 of file RPT2Logic.java.

ObjectType edu::tum::cs::rpt::RPT2Logic::setObjectType ( String  objName,
String  varName,
String  precondition,
ObjectType[]  referencedRelations 
) [inline]

Definition at line 412 of file RPT2Logic.java.

void edu::tum::cs::rpt::RPT2Logic::setPrecondition ( String  precond  )  [inline]

Definition at line 436 of file RPT2Logic.java.

void edu::tum::cs::rpt::RPT2Logic::setRelationType ( String  itemName,
ObjectType  from,
ObjectType  to 
) [inline]

tells the converter that the item with the given name (in the proximity subgraph), which may have attributes that are used in the classification using RPTs, is a link -- not an object -- and that it represents the given relation.

Parameters:
itemName the name of the item
from the object where the (directed) link originates
to the object the link leads to

Definition at line 432 of file RPT2Logic.java.

void edu::tum::cs::rpt::RPT2Logic::walkTree ( RPNode  node,
Path  path 
) [inline, protected]

Definition at line 175 of file RPT2Logic.java.

void edu::tum::cs::rpt::RPT2Logic::walkTree ( RPNode  root  )  [inline]

traverses the relational probability tree rooted at root and collects all the paths to leaf nodes (a path thus contains a number of atomic formulas which correspond to the tests in the various nodes)

Parameters:
root root of the relational probability tree

Definition at line 75 of file RPT2Logic.java.


Member Data Documentation

Definition at line 14 of file RPT2Logic.java.

Definition at line 14 of file RPT2Logic.java.

Definition at line 14 of file RPT2Logic.java.

Definition at line 18 of file RPT2Logic.java.

used during walkTree to store the name of the variable that the current node deals with

Definition at line 28 of file RPT2Logic.java.

HashMap<String, ObjectType> edu::tum::cs::rpt::RPT2Logic::objects [protected]

Definition at line 16 of file RPT2Logic.java.

Definition at line 15 of file RPT2Logic.java.

Definition at line 20 of file RPT2Logic.java.

Definition at line 17 of file RPT2Logic.java.

the total number of samples that was used to learn the RPT that is currently being processed

Definition at line 24 of file RPT2Logic.java.

Definition at line 19 of file RPT2Logic.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations


srldb
Author(s): Dominik Jain, Stefan Waldherr, Moritz Tenorth
autogenerated on Fri Jan 11 09:58:43 2013