uk.ac.bbk.dcs.automed.qproc.iql
Class ASGComprehensionMiniCon
java.lang.Object
uk.ac.bbk.dcs.automed.qproc.iql.ASG
uk.ac.bbk.dcs.automed.qproc.iql.ASGComprehension
uk.ac.bbk.dcs.automed.qproc.iql.ASGComprehensionMiniCon
- All Implemented Interfaces:
- java.io.Serializable, PersistentObject
public class ASGComprehensionMiniCon
- extends ASGComprehension
- See Also:
- Serialized Form
Fields inherited from class uk.ac.bbk.dcs.automed.qproc.iql.ASG |
logger, root |
Methods inherited from class uk.ac.bbk.dcs.automed.qproc.iql.ASG |
annotate, copyOfASG, emptyBag, emptyCollection, emptyList, emptySet, equals, explore, explore, finalize, formattedString, formattedString, formattedString, fromASG, fromASG, fromASGCollection, fromASGCollection, fromASGList, fromASGList, fromASGTuple, fromASGTuple, getCollectionSize, getColType, getCreated, getDestroyed, getKey, getPersistentAttributes, isDAG, isDAG, listOfSchemes, listOfSchemes, print, print, print, print, println, println, root, toASGCollection, toASGList, toASGTuple, toString, toStringOBID, unify |
Methods inherited from class java.lang.Object |
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getInstance
public static java.lang.Object getInstance(java.lang.String s)
throws ParseException
- Throws:
ParseException
getInstance
public static java.lang.Object getInstance(Cell c)
getInstance
public static java.lang.Object getInstance(java.io.File f)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
getSchemes
protected void getSchemes(Cell c,
java.util.LinkedList schemes)
- Overrides:
getSchemes
in class ASGComprehension
getQueryFunctions
public java.util.LinkedList getQueryFunctions()
getQuerySubGoals
public java.util.LinkedList getQuerySubGoals()
getHeadVariables
public java.util.List getHeadVariables()
getQueryVariables
public java.util.Map getQueryVariables()
throws QProcException
- Throws:
QProcException
replaceFunctions
public static void replaceFunctions(ASG g,
QueryVariable var,
java.util.List newFuncs)
- Replace query functions which are mapped to a specific
QueryVariable
with
a new set of functions.
- Parameters:
g
- an ASG
query. The original query will be modified by this methodvar
- QueryVariable
a query variablenewFuncs
- List
a list of QueryFunction
s
main
public static void main(java.lang.String[] args)