felix.dstruct
Class FelixClause

java.lang.Object
  extended by tuffy.mln.Clause
      extended by felix.dstruct.FelixClause
All Implemented Interfaces:
java.lang.Cloneable

public class FelixClause
extends tuffy.mln.Clause

The clause object used in Felix, which extends the Clause class in Tuffy to contain Felix-related fields and methods.

Author:
Ce Zhang

Field Summary
 boolean isBinaryLRRules
          Deprecated.  
 
Fields inherited from class tuffy.mln.Clause
cost, mappingFromID2Const, mappingFromID2Desc, sqlFromList, sqlPivotAttrsList, sqlWhereBindings, violatedGClauses, violations
 
Constructor Summary
FelixClause()
           
 
Method Summary
 tuffy.ra.ConjunctiveQuery toLearningQueryForVictor(StatOperator sop, FelixPredicate toBeHead)
          Deprecated.  
 tuffy.ra.ConjunctiveQuery toSimplifiedFactorGraphQuery(StatOperator sop, FelixPredicate toBeHead, boolean forceRecursive)
          See StatOperator#translateFelixClasesIntoFactorGraphEdgeQueries(FelixPredicate, boolean, dstruct.FelixPredicate.FPProperty...)
 
Methods inherited from class tuffy.mln.Clause
absorb, addConstraint, addExistentialVariable, addLiteral, addSpecText, addUserProvidedName, checkVariableSafety, clone, generateSQL, getConstraints, getId, getLiteralsOfPredicate, getName, getReferencedPredicates, getRegLiterals, getSignature, getSpecText, getVarWeight, getWeight, getWeightExp, hasEmbeddedWeight, hasExistentialQuantifiers, isHardClause, isPositiveClause, isTemplate, normalize, prepareForDB, setHardWeight, setId, setName, setVarWeight, setWeight, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

isBinaryLRRules

public boolean isBinaryLRRules
Deprecated. 
Constructor Detail

FelixClause

public FelixClause()
Method Detail

toSimplifiedFactorGraphQuery

public tuffy.ra.ConjunctiveQuery toSimplifiedFactorGraphQuery(StatOperator sop,
                                                              FelixPredicate toBeHead,
                                                              boolean forceRecursive)
See StatOperator#translateFelixClasesIntoFactorGraphEdgeQueries(FelixPredicate, boolean, dstruct.FelixPredicate.FPProperty...)

Parameters:
sop -
toBeHead -
forceRecursive -
Returns:

toLearningQueryForVictor

public tuffy.ra.ConjunctiveQuery toLearningQueryForVictor(StatOperator sop,
                                                          FelixPredicate toBeHead)
Deprecated. 

See StatOperator#translateFelixClasesIntoFactorGraphEdgeQueries(FelixPredicate, boolean, dstruct.FelixPredicate.FPProperty...)

Parameters:
sop -
toBeHead -
forceRecursive -
Returns: