A B C D E F G H I J K L M N O P Q R S T U V W X Y _

A

ACTOR_DEF - Static variable in interface cgp.CGPTokenTypes
 
ACTOR_DEF - Static variable in interface cgp.CGPInterpreterTokenTypes
 
actor() - Method in class cgp.translators.AntlrCGIFParser
 
Actor(Actor, DefiningLabelTable) - Method in class cgp.translators.CGIFGenerator
Generates a actor to the output stream.
actorCall(AST, Type, LinkedList, boolean) - Method in class cgp.CGPInterpreter
Mutate a copy of an actor's defining graph by executing its sub-actors.
ActorComment(String) - Method in class cgp.translators.CGIFGenerator
Generates a actor comment to output stream.
actorDef() - Method in class cgp.CGPParser
 
actorDef(AST) - Method in class cgp.CGPInterpreter
 
ActorException - exception cgp.runtime.ActorException.
 
ActorException(String) - Constructor for class cgp.runtime.ActorException
 
actorParamKind() - Method in class cgp.CGPParser
 
actorParamKind(AST) - Method in class cgp.CGPInterpreter
 
ActorType - class cgp.runtime.ActorType.
 
ActorType(GraphType) - Constructor for class cgp.runtime.ActorType
Invoke this constructor when defining an anonymous actor, typically for direct activation of a graph (e.g.
ActorType(String, FormalParameter[], GraphType) - Constructor for class cgp.runtime.ActorType
Invoke this constructor when defining a named actor via an "actor" type definition.
ActorType(String, FormalParameter[], GraphType, Graph) - Constructor for class cgp.runtime.ActorType
Invoke this constructor when copy()ing.
ACTUAL_ARGS - Static variable in interface cgp.CGPTokenTypes
 
ACTUAL_ARGS - Static variable in interface cgp.CGPInterpreterTokenTypes
 
actualArgs() - Method in class cgp.CGPParser
 
actualArgs(AST) - Method in class cgp.CGPInterpreter
 
add(GraphType) - Method in class cgp.runtime.GraphType
Add to a copy of this graph and return it.
addConceptType(String) - Method in class cgp.runtime.KBase
Add a single concept type to the hierarchy if it has not already been added.
addCorefVarMapping(String, Type) - Method in class cgp.runtime.KBase
Add a coreferent variable mapping.
addExpr() - Method in class cgp.CGPParser
 
addOp(Type) - Method in class cgp.runtime.Type
Concatenation of this value to a string via toString().
addOp(Type) - Method in class cgp.runtime.NumberType
Arithmetic addition.
addOp(Type) - Method in class cgp.runtime.StringType
Concatenation of this string to any other object to form a new string.
addRelationType(String) - Method in class cgp.runtime.KBase
Add a single relation type to the hierarchy if it has not already been added.
allowIncompleteRelations - Variable in class cgp.translators.CGIFGenerator
Flag indicating whether the generator should allow incomplete relations or throw an exception.
AMPERSAND - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
AND - Static variable in interface cgp.CGPTokenTypes
 
AND - Static variable in interface cgp.CGPInterpreterTokenTypes
 
andExpr() - Method in class cgp.CGPParser
 
andOp(Type) - Method in class cgp.runtime.Type
 
andOp(Type) - Method in class cgp.runtime.BooleanType
 
angle - Variable in class cgp.runtime.newtypes.GCPFrame
 
ANON_FUN_DEF - Static variable in interface cgp.CGPTokenTypes
 
ANON_FUN_DEF - Static variable in interface cgp.CGPInterpreterTokenTypes
 
ANON_NAME - Static variable in class cgp.runtime.FunctionType
 
ANON_NAME - Static variable in class cgp.runtime.ActorType
 
anonFunDef() - Method in class cgp.CGPParser
 
anonFunDef(AST) - Method in class cgp.CGPInterpreter
 
AntlrCGIFLexer - class cgp.translators.AntlrCGIFLexer.
CGIF lexical analyser for pCG.
AntlrCGIFLexer(InputBuffer) - Constructor for class cgp.translators.AntlrCGIFLexer
 
AntlrCGIFLexer(InputStream) - Constructor for class cgp.translators.AntlrCGIFLexer
 
AntlrCGIFLexer(LexerSharedInputState) - Constructor for class cgp.translators.AntlrCGIFLexer
 
AntlrCGIFLexer(Reader) - Constructor for class cgp.translators.AntlrCGIFLexer
 
AntlrCGIFParser - class cgp.translators.AntlrCGIFParser.
A Notio CGIF parser for a conceptual graph language which embodies Guy Mineau's process formalism.
AntlrCGIFParser(AntlrCGIFLexer, KnowledgeBase) - Constructor for class cgp.translators.AntlrCGIFParser
 
AntlrCGIFParser(ParserSharedInputState) - Constructor for class cgp.translators.AntlrCGIFParser
 
AntlrCGIFParser(TokenBuffer) - Constructor for class cgp.translators.AntlrCGIFParser
 
AntlrCGIFParser(TokenBuffer, int) - Constructor for class cgp.translators.AntlrCGIFParser
 
AntlrCGIFParser(TokenStream) - Constructor for class cgp.translators.AntlrCGIFParser
 
AntlrCGIFParser(TokenStream, int) - Constructor for class cgp.translators.AntlrCGIFParser
 
AntlrCGIFTokenTypes - interface cgp.translators.AntlrCGIFTokenTypes.
 
append(Type) - Method in class cgp.runtime.ListType
Append a value to this list and return the mutated list.
arc() - Method in class cgp.translators.AntlrCGIFParser
 
Arc(Concept, DefiningLabelTable) - Method in class cgp.translators.CGIFGenerator
Generates an arc to the output stream.
areConceptsCompatible(Concept[], Concept[]) - Method in class cgp.runtime.GraphType
Are the specified concepts type compatible? Note that this does not mean that they are necessarily restriction compatible.
areDesignatorsEquivalent(Graph) - Method in class cgp.runtime.GraphType
Check designator and marker equivalence together by iterating over each concept's designator (which consists of a literal, marker, or name) and testing pCG value equivalence.
areRelationsCompatible(Relation, Relation) - Method in class cgp.runtime.GraphType
Is the first conceptual relation supertype compatible with the second? For this to be true, the first's relation must be the same type or a supertype of the second, and the same must hold for each concept argument of the two conceptual relations.
args - Variable in class cgp.CGPInterpreter
 
assert(GraphType) - Method in class cgp.runtime.KBase
Assert a graph, first binding coreference variables.
assert(GraphType, boolean) - Method in class cgp.runtime.KBase
Assert a graph in this knowledge base unless a structurally equivalent graph has already been asserted.
assignment() - Method in class cgp.CGPParser
 
assignment(AST) - Method in class cgp.CGPInterpreter
 
AT - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
ATTR_ASSIGN - Static variable in interface cgp.CGPTokenTypes
 
ATTR_ASSIGN - Static variable in interface cgp.CGPInterpreterTokenTypes
 
ATTR_SELECTION - Static variable in interface cgp.CGPTokenTypes
 
ATTR_SELECTION - Static variable in interface cgp.CGPInterpreterTokenTypes
 

B

bindCorefVars(GraphType) - Method in class cgp.runtime.KBase
Bind coreference variables in the specified graph, if possible, by reference to the current knowledge base.
bindParameters(Type[]) - Method in class cgp.runtime.LambdaType
 
bindParametersToSourceConcepts(Type[]) - Method in class cgp.runtime.ActorType
Mutate source concept designators with actuals, by argument order.
BLOCK - Static variable in interface cgp.CGPTokenTypes
 
BLOCK - Static variable in interface cgp.CGPInterpreterTokenTypes
 
block() - Method in class cgp.CGPParser
 
block(AST) - Method in class cgp.CGPInterpreter
 
body - Variable in class cgp.runtime.LambdaType
 
BooleanType - class cgp.runtime.BooleanType.
 
BooleanType(boolean) - Constructor for class cgp.runtime.BooleanType
 
boolValue() - Method in class cgp.CGPParser
 
boolValue(AST) - Method in class cgp.CGPInterpreter
 
boundLabel() - Method in class cgp.translators.AntlrCGIFParser
 

C

c - Variable in class cgp.runtime.newtypes.GCPFrame
 
CALL - Static variable in interface cgp.CGPTokenTypes
 
CALL - Static variable in interface cgp.CGPInterpreterTokenTypes
 
call() - Method in class cgp.CGPParser
 
call(AST) - Method in class cgp.CGPInterpreter
 
callExpr() - Method in class cgp.CGPParser
 
ceil() - Method in class cgp.runtime.NumberType
 
cg() - Method in class cgp.translators.AntlrCGIFParser
 
CGIFGenerator - class cgp.translators.CGIFGenerator.
A CGIF Generator class.
CGIFGenerator() - Constructor for class cgp.translators.CGIFGenerator
 
CGIFGenOpt - Static variable in class cgp.CGP
 
CGIFParser - class cgp.translators.CGIFParser.
 
CGIFParser() - Constructor for class cgp.translators.CGIFParser
 
CGIFParserOpt - Static variable in class cgp.CGP
 
cgp - package cgp
 
CGP - class cgp.CGP.
 
cgp.runtime - package cgp.runtime
 
cgp.runtime.newtypes - package cgp.runtime.newtypes
 
cgp.translators - package cgp.translators
 
CGP() - Constructor for class cgp.CGP
 
CGPCanvas - class cgp.runtime.newtypes.CGPCanvas.
 
CGPCanvas() - Constructor for class cgp.runtime.newtypes.CGPCanvas
 
CGPInterpreter - class cgp.CGPInterpreter.
A conceptual graph language which embodies Guy Mineau's process formalism.
CGPInterpreter() - Constructor for class cgp.CGPInterpreter
 
CGPInterpreter(String[], CommonAST) - Constructor for class cgp.CGPInterpreter
 
CGPInterpreterTokenTypes - interface cgp.CGPInterpreterTokenTypes.
 
CGPLexer - class cgp.CGPLexer.
Conceptual Graph Processes lexical analyser.
CGPLexer(InputBuffer) - Constructor for class cgp.CGPLexer
 
CGPLexer(InputStream) - Constructor for class cgp.CGPLexer
 
CGPLexer(LexerSharedInputState) - Constructor for class cgp.CGPLexer
 
CGPLexer(Reader) - Constructor for class cgp.CGPLexer
 
CGPParser - class cgp.CGPParser.
A conceptual graph language which embodies Guy Mineau's process formalism.
CGPParser(ParserSharedInputState) - Constructor for class cgp.CGPParser
 
CGPParser(TokenBuffer) - Constructor for class cgp.CGPParser
 
CGPParser(TokenBuffer, int) - Constructor for class cgp.CGPParser
 
CGPParser(TokenStream) - Constructor for class cgp.CGPParser
 
CGPParser(TokenStream, int) - Constructor for class cgp.CGPParser
 
CGPTokenTypes - interface cgp.CGPTokenTypes.
 
cgStream() - Method in class cgp.translators.AntlrCGIFParser
 
chr() - Method in class cgp.runtime.NumberType
Return a string which this number represents as ASCII.
close() - Method in class cgp.runtime.FileType
 
close() - Method in class cgp.runtime.newtypes.Window
Close a graphics window.
code - Variable in class cgp.runtime.FunctionType
 
collection - Variable in class cgp.translators.DefinedQuantifier
 
collectSubActors() - Method in class cgp.runtime.ActorType
Collect sub-actors in this actor.
COLON - Static variable in interface cgp.CGPTokenTypes
 
COLON - Static variable in interface cgp.CGPInterpreterTokenTypes
 
COLON - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
color - Variable in class cgp.runtime.newtypes.GCPFrame
 
color - Variable in class cgp.runtime.newtypes.GfxObj
 
colorComponentOK(int) - Method in class cgp.runtime.newtypes.Window
 
COMMA - Static variable in interface cgp.CGPTokenTypes
 
COMMA - Static variable in interface cgp.CGPInterpreterTokenTypes
 
COMMA - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
COMMENT - Static variable in interface cgp.CGPTokenTypes
 
COMMENT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
COMMENT - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
CONCEPT_LITERAL - Static variable in interface cgp.CGPTokenTypes
 
CONCEPT_LITERAL - Static variable in interface cgp.CGPInterpreterTokenTypes
 
concept() - Method in class cgp.translators.AntlrCGIFParser
 
Concept(Concept, DefiningLabelTable) - Method in class cgp.translators.CGIFGenerator
Generates a concept to the output stream.
ConceptComment(String) - Method in class cgp.translators.CGIFGenerator
Generates a concept comment to output stream.
ConceptCounts - class cgp.runtime.ConceptCounts.
 
ConceptCounts() - Constructor for class cgp.runtime.ConceptCounts
 
conceptHierarchy - Variable in class cgp.translators.SimpleGenerator
The concept type hierarchy from the knowledge base.
ConceptType - class cgp.runtime.ConceptType.
 
ConceptType(Concept) - Constructor for class cgp.runtime.ConceptType
 
ConceptType(ConceptType) - Method in class cgp.translators.CGIFGenerator
Generates a concept type to the output stream.
ConceptType(String) - Constructor for class cgp.runtime.ConceptType
 
ConceptTypeDefinition(ConceptTypeDefinition) - Method in class cgp.translators.CGIFGenerator
Generates a concept type definition to the output stream.
conceptTypeNames - Variable in class cgp.runtime.KBase
 
conceptTypes - Variable in class cgp.runtime.KBase
 
conceptTypes - Variable in class cgp.translators.AntlrCGIFParser
 
conceptValue() - Method in class cgp.CGPParser
 
CONDITION - Static variable in interface cgp.CGPTokenTypes
 
CONDITION - Static variable in interface cgp.CGPInterpreterTokenTypes
 
condition() - Method in class cgp.CGPParser
 
condition(AST) - Method in class cgp.CGPInterpreter
 
conjuncts() - Method in class cgp.translators.AntlrCGIFParser
 
containsActorNodes() - Method in class cgp.runtime.GraphType
Does this graph contain one or more actor relations? This asks nothing about the validity of any such actors, a task carried out at pCG actor definition time.
contexts - Variable in class cgp.translators.AntlrCGIFParser
 
ContextScope - class cgp.translators.ContextScope.
 
ContextScope() - Constructor for class cgp.translators.ContextScope
 
ContextScope(HashMap) - Constructor for class cgp.translators.ContextScope
 
ContextScopeStack - class cgp.translators.ContextScopeStack.
 
ContextScopeStack() - Constructor for class cgp.translators.ContextScopeStack
 
copy() - Method in class cgp.runtime.LambdaType
 
copy() - Method in class cgp.runtime.GraphType
Make a copy of this graph.
copy() - Method in class cgp.runtime.Namespace
Copy this namespace.
copy() - Method in class cgp.runtime.ActorType
Copy this actor such that a clone of the defining graph exists for the purpose of actor execution.
copy() - Method in class cgp.runtime.ConceptType
Make a copy of this concept.
copy() - Method in class cgp.translators.ContextScope
Copy this namespace.
COPYING_SCHEME - Static variable in class cgp.runtime.GraphType
 
COPYING_SCHEME - Static variable in class cgp.runtime.ConceptType
 
COPYING_SCHEME - Variable in class cgp.translators.AntlrCGIFParser
 
COPYING_SCHEME_NO_COMMENTS - Static variable in class cgp.runtime.GraphType
 
COPYING_SCHEME_NO_COMMENTS - Static variable in class cgp.runtime.ConceptType
 
corefLinks(ContextScope, Concept) - Method in class cgp.translators.AntlrCGIFParser
 
corefVars - Variable in class cgp.runtime.KBase
 
cos() - Method in class cgp.runtime.NumberType
 
createCGParser(String, File, KnowledgeBase, TranslationContext) - Static method in class cgp.CGP
 
createCGParser(String, String, KnowledgeBase, TranslationContext) - Static method in class cgp.CGP
 
createExMsg(String, Exception) - Method in class cgp.translators.CGIFParser
Creates a message for a parser exception given another exception.

D

dec() - Method in class cgp.runtime.NumberType
 
def(String, Concept) - Method in class cgp.translators.ContextScope
 
def(String, Type) - Method in class cgp.runtime.Namespace
 
defGraph - Variable in class cgp.runtime.LambdaType
 
DefinedQuantifier - class cgp.translators.DefinedQuantifier.
A class which represents a named concept referent quantifier with an optional collection.
DefinedQuantifier(String) - Constructor for class cgp.translators.DefinedQuantifier
 
DefinedQuantifier(String, Object[]) - Constructor for class cgp.translators.DefinedQuantifier
 
DEFINING_LABEL_TABLE_NAME - Static variable in class cgp.translators.SimpleGenerator
Name of DefiningLabelTable unit in context.
defLabel(ContextScope, Concept) - Method in class cgp.translators.AntlrCGIFParser
 
degs2rads(int) - Method in class cgp.runtime.newtypes.GCPFrame
 
depth() - Method in class cgp.runtime.ScopeStack
 
depth() - Method in class cgp.runtime.KnowledgeBaseStack
 
depth() - Method in class cgp.translators.ContextScopeStack
 
describeConceptTypes() - Method in class cgp.runtime.KBase
 
describeRelationTypes() - Method in class cgp.runtime.KBase
 
descriptor(Referent) - Method in class cgp.translators.AntlrCGIFParser
 
Designator(Designator, DefiningLabelTable) - Method in class cgp.translators.CGIFGenerator
Generates a designator to the output stream.
designator(Referent) - Method in class cgp.translators.AntlrCGIFParser
 
DIGIT - Static variable in interface cgp.CGPTokenTypes
 
DIGIT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
DIGIT - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
disjuncts() - Method in class cgp.translators.AntlrCGIFParser
 
divideOp(Type) - Method in class cgp.runtime.Type
 
divideOp(Type) - Method in class cgp.runtime.NumberType
 
DOT - Static variable in interface cgp.CGPTokenTypes
 
DOT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
DOT - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
drawImage(String, int, int) - Method in class cgp.runtime.newtypes.GCPFrame
 
drawImage(StringType, NumberType, NumberType) - Method in class cgp.runtime.newtypes.Window
Draw an image in the CGP graphics window.
drawLine(int, int, int, int) - Method in class cgp.runtime.newtypes.GCPFrame
 
drawLine(NumberType, NumberType, NumberType, NumberType) - Method in class cgp.runtime.newtypes.Window
Draw a line in the CGP graphics window.
drawText(String, int, int) - Method in class cgp.runtime.newtypes.GCPFrame
 
drawText(StringType, NumberType, NumberType) - Method in class cgp.runtime.newtypes.Window
Draw a string in the CGP graphics window.

E

EMPTY_LIST - Static variable in interface cgp.CGPTokenTypes
 
EMPTY_LIST - Static variable in interface cgp.CGPInterpreterTokenTypes
 
env - Variable in class cgp.runtime.FunctionType
 
EOF - Static variable in interface cgp.CGPTokenTypes
 
EOF - Static variable in interface cgp.CGPInterpreterTokenTypes
 
EOF - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
EQ - Static variable in interface cgp.CGPTokenTypes
 
EQ - Static variable in interface cgp.CGPInterpreterTokenTypes
 
eqOp(Type) - Method in class cgp.runtime.Type
 
eqOp(Type) - Method in class cgp.runtime.NumberType
 
eqOp(Type) - Method in class cgp.runtime.StringType
 
eqOp(Type) - Method in class cgp.runtime.ListType
 
eqOp(Type) - Method in class cgp.runtime.GraphType
 
eqOp(Type) - Method in class cgp.runtime.BooleanType
 
eqOp(Type) - Method in class cgp.runtime.ConceptType
 
equals(Object) - Method in class cgp.runtime.NumberType
 
equals(Object) - Method in class cgp.runtime.StringType
 
equals(Object) - Method in class cgp.runtime.ListType
 
equals(Object) - Method in class cgp.runtime.GraphType
 
equals(Object) - Method in class cgp.runtime.BooleanType
 
equals(Object) - Method in class cgp.runtime.UndefinedType
 
equals(Object) - Method in class cgp.runtime.ConceptType
 
ERR - Static variable in class cgp.CGP
 
escapeCharactersInString(String, String, char) - Static method in class cgp.translators.SimpleGenerator
Adds escape sequences for specified characters whenever they occur within the specified string.
exactMatch(GraphType) - Method in class cgp.runtime.KBase
Does the specified graph exactly match a graph in the set?
executeMacro(Object[]) - Method in class cgp.translators.NumericQuantifier
Execute macro.
executeMacro(Object[]) - Method in class cgp.translators.DefinedQuantifier
Execute macro.
executor - Variable in class cgp.runtime.SubActorInfo
 
EXPONENT - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
exportAllOpt - Variable in class cgp.runtime.Rule
 
exportAssertOpt - Variable in class cgp.runtime.Rule
 
exportRetractOpt - Variable in class cgp.runtime.Rule
 
expr() - Method in class cgp.CGPParser
Expression productions ** Precedence of operators (from lowest to highest) ----------------------- Associativity ------------- or L and L > < >= <= == != is (is: type equivalence operator) L + - L * div mod L - not (unary negation and logical complement) L [] .
expr(AST) - Method in class cgp.CGPInterpreter
 

F

f - Variable in class cgp.runtime.newtypes.Window
 
factor() - Method in class cgp.CGPParser
 
factor(AST) - Method in class cgp.CGPInterpreter
 
file - Variable in class cgp.runtime.FileType
 
FILE_VALUE - Static variable in interface cgp.CGPTokenTypes
 
FILE_VALUE - Static variable in interface cgp.CGPInterpreterTokenTypes
 
FileType - class cgp.runtime.FileType.
 
FileType(String) - Constructor for class cgp.runtime.FileType
 
fileValue() - Method in class cgp.CGPParser
 
find(String) - Method in class cgp.runtime.ScopeStack
Search this stack of scopes in FILO order for the specified name.
find(String) - Method in class cgp.translators.ContextScopeStack
Search this stack of scopes in FILO order for the specified name.
FLOAT_NUM - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
floor() - Method in class cgp.runtime.NumberType
 
FOREACH_STATEMENT - Static variable in interface cgp.CGPTokenTypes
 
FOREACH_STATEMENT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
foreachStatement() - Method in class cgp.CGPParser
 
foreachStatement(AST) - Method in class cgp.CGPInterpreter
 
FormalParameter - class cgp.runtime.FormalParameter.
 
formalParameter() - Method in class cgp.translators.AntlrCGIFParser
 
FormalParameter(String) - Constructor for class cgp.runtime.FormalParameter
 
FormalParameter(String, boolean) - Constructor for class cgp.runtime.FormalParameter
 
formals - Variable in class cgp.runtime.LambdaType
 
formals - Variable in class cgp.runtime.ProcessType
 
formals - Variable in class cgp.runtime.FunctionType
 
FUN_DEF - Static variable in interface cgp.CGPTokenTypes
 
FUN_DEF - Static variable in interface cgp.CGPInterpreterTokenTypes
 
funApply(AST, Type, Type) - Method in class cgp.CGPInterpreter
 
funCall(AST, Type, LinkedList) - Method in class cgp.CGPInterpreter
 
FunctionType - class cgp.runtime.FunctionType.
 
FunctionType(FormalParameter[], AST) - Constructor for class cgp.runtime.FunctionType
 
FunctionType(String, FormalParameter[], AST) - Constructor for class cgp.runtime.FunctionType
 
funDef() - Method in class cgp.CGPParser
 
funDef(AST) - Method in class cgp.CGPInterpreter
 

G

GCPFrame - class cgp.runtime.newtypes.GCPFrame.
This class provides simple drawing and Turtle Graphics capabilities.
GCPFrame(String, int, int, int, int) - Constructor for class cgp.runtime.newtypes.GCPFrame
 
GCPFrameListener - class cgp.runtime.newtypes.GCPFrameListener.
 
GCPFrameListener() - Constructor for class cgp.runtime.newtypes.GCPFrameListener
 
GE - Static variable in interface cgp.CGPTokenTypes
 
GE - Static variable in interface cgp.CGPInterpreterTokenTypes
 
generate(String) - Method in class cgp.translators.SimpleGenerator
Appends the specified string to the StringBuffer or OutputStream with which the generator was initialized.
generateActor(Actor) - Method in class cgp.translators.CGIFGenerator
Generates an actor to the output stream.
generateConcept(Concept) - Method in class cgp.translators.CGIFGenerator
Generates a concept to the output stream.
generateGraph(Graph) - Method in class cgp.translators.CGIFGenerator
Generates a graph to the output stream.
generateOutermostContext(Graph) - Method in class cgp.translators.CGIFGenerator
Generates a graph to the output stream.
generateRelation(Relation) - Method in class cgp.translators.CGIFGenerator
Generates a relation to the output stream.
generateUnit(Object) - Method in class cgp.translators.SimpleGenerator
Generates a graph to the output stream.
geOp(Type) - Method in class cgp.runtime.Type
 
geOp(Type) - Method in class cgp.runtime.NumberType
 
geOp(Type) - Method in class cgp.runtime.StringType
 
get(String) - Method in class cgp.runtime.Namespace
 
get(String) - Method in class cgp.translators.ContextScope
 
getActors() - Method in class cgp.runtime.GraphType
Returns a list of lists each of which is headed by a actor name, followed by a list of input concepts, and a list of output concepts.
getAllowIncompleteRelations() - Method in class cgp.translators.CGIFGenerator
Returns a flag indicating whether incomplete relations are allowed whilst generating.
getArgcount() - Method in class cgp.runtime.FunctionType
 
getAssertedGraphs() - Method in class cgp.runtime.KBase
 
getAttr(String) - Method in class cgp.runtime.Type
Attribute access operator (e.g.
getBody() - Method in class cgp.runtime.LambdaType
 
getCode() - Method in class cgp.runtime.FunctionType
 
getConcepts() - Method in class cgp.runtime.GraphType
Returns a list of all concepts in this graph.
getConceptTypeNames() - Method in class cgp.runtime.KBase
 
getConcepttypes() - Method in class cgp.runtime.KBase
 
getCorefvars() - Method in class cgp.runtime.KBase
 
getCorefVars() - Method in class cgp.runtime.KBase
 
getCorefVarValue(String) - Method in class cgp.runtime.KBase
Get a coreferent variable's value.
getDefgraph() - Method in class cgp.runtime.LambdaType
 
getDefiningLabelTable(TranslationContext) - Method in class cgp.translators.SimpleGenerator
Returns the DefiningLabelTable currently in used by this parser.
getDescriptor() - Method in class cgp.runtime.ConceptType
 
getDesignator() - Method in class cgp.runtime.ConceptType
 
getDesignatorValue() - Method in class cgp.runtime.ConceptType
Convert a Java designator value into one consumable by pCG.
getEnv() - Method in class cgp.runtime.FunctionType
 
getFormals() - Method in class cgp.runtime.LambdaType
 
getFormals() - Method in class cgp.runtime.ProcessType
 
getFormals() - Method in class cgp.runtime.FunctionType
 
getFrame(int) - Method in class cgp.runtime.ScopeStack
Return the ith frame.
getFrame(int) - Method in class cgp.translators.ContextScopeStack
Return the ith frame.
getGraphs() - Method in class cgp.runtime.KBase
Getter and setter methods for attributes.
getId() - Method in class cgp.runtime.LambdaType
 
getId() - Method in class cgp.runtime.ProcessType
 
getId() - Method in class cgp.runtime.FunctionType
 
getInitialBlock() - Method in class cgp.runtime.ProcessType
 
getKB() - Method in class cgp.runtime.KBase
 
getKBase() - Method in class cgp.runtime.GraphType
 
getKBase() - Method in class cgp.runtime.ConceptType
 
getKBStack() - Static method in class cgp.runtime.Type
 
getKind() - Method in class cgp.runtime.FileType
Getter and setter methods for pCG attributes.
getLabel() - Method in class cgp.runtime.ConceptType
Getter and setter methods for attributes.
getLength() - Method in class cgp.runtime.StringType
Getter and setter methods for pCG attributes.
getLength() - Method in class cgp.runtime.ListType
Getter and setter methods for attributes.
getMappings() - Method in class cgp.runtime.Namespace
Return an array of coreferent variable mappings as pCG strings.
getMatchExpressions() - Method in class cgp.runtime.Rule
 
getMatchGraphNegation(int) - Method in class cgp.runtime.Rule
Return the ith match graph's negation status.
getMutateGraphExportOpt(int) - Method in class cgp.runtime.Rule
Return the ith mutation graph's export option.
getMutateKBExpressions() - Method in class cgp.runtime.Rule
 
getName() - Method in class cgp.runtime.FormalParameter
 
getName() - Method in class cgp.runtime.LambdaType
Getter and setter methods for attributes.
getName() - Method in class cgp.runtime.ProcessType
Getter and setter methods for attributes.
getName() - Method in class cgp.runtime.FunctionType
Getter and setter methods for attributes.
getName() - Method in class cgp.runtime.Rule
 
getName() - Method in class cgp.translators.NumericQuantifier
Get quantifier name.
getName() - Method in class cgp.translators.DefinedQuantifier
Get quantifier name.
getNames() - Method in class cgp.runtime.Namespace
Return the names in this namespace.
getNames() - Method in class cgp.translators.ContextScope
Return the names in this namespace.
getNextSubActor() - Method in class cgp.runtime.ActorType
Return the sub-actor (actor or function) which is next ready to to be executed by virtue of having all input concept designators bound to pCG literals.
getNthOp(Type) - Method in class cgp.runtime.Type
List access operator (e.g.
getNthOp(Type) - Method in class cgp.runtime.ListType
Return the Nth element of this list.
getParser() - Method in class cgp.translators.CGIFParser
Return the parser object.
getParseTree() - Method in interface cgp.translators.Parser
Returns a parse tree, if available, as a string.
getParseTree() - Method in class cgp.translators.CGIFParser
Returns a parse tree, if available, as a string.
getPostconditionActionBlock() - Method in class cgp.runtime.Rule
 
getPreconditionActionBlock() - Method in class cgp.runtime.Rule
 
getQuantifier() - Method in class cgp.runtime.ConceptType
 
getRelations() - Method in class cgp.runtime.GraphType
Returns a list of lists each of which is headed by a relation name, followed by a list of input concepts, and a list of output concepts.
getRelationTypeNames() - Method in class cgp.runtime.KBase
 
getRelationtypes() - Method in class cgp.runtime.KBase
 
getReturnValue() - Method in class cgp.runtime.Scope
 
getRules() - Method in class cgp.runtime.ProcessType
 
GETS - Static variable in interface cgp.CGPTokenTypes
 
GETS - Static variable in interface cgp.CGPInterpreterTokenTypes
 
getScopeStack() - Static method in class cgp.runtime.Type
 
getSingletonActorNode(AST, GraphType) - Method in class cgp.CGPInterpreter
 
getSinkconcepts() - Method in class cgp.runtime.ActorType
Getter and setter methods for attributes.
getSinks(GraphType) - Static method in class cgp.runtime.ActorType
The sink arguments of an actor graph are those which take output from one (unless conflicting, then > 1) sub-actor and provide input to no sub-actor.
getSourceconcepts() - Method in class cgp.runtime.ActorType
 
getSources(GraphType) - Static method in class cgp.runtime.ActorType
The source arguments of an actor graph are those which provide input into one or more sub-actors but are outputs of no sub-actor.
getSubActorIOCounts(GraphType) - Static method in class cgp.runtime.ActorType
Return a hash containing the per sub-actor count of input and output concepts in the supplied graph.
getSupressGraphComments() - Method in class cgp.translators.CGIFGenerator
Returns a flag indicating whether this generator will supress comments in graphs.
getSupressNodeComments() - Method in class cgp.translators.CGIFGenerator
Returns a flag indicating whether this generator will supress comments in nodes (Concepts, Relations, and Actors).
getType() - Method in class cgp.runtime.Type
Getter and setter methods for attributes.
getUnitClass() - Method in class cgp.translators.CGIFParser
Returns a Class object that indicates what class the parseUnit() method will return.
getUnitClass() - Method in class cgp.translators.SimpleGenerator
Returns a Class object that indicates what class the Unit parse method will return.
getValue() - Method in class cgp.runtime.NumberType
 
getValue() - Method in class cgp.runtime.FileType
 
getValue() - Method in class cgp.runtime.StringType
 
getValue() - Method in class cgp.runtime.ListType
 
getValue() - Method in class cgp.runtime.GraphType
 
getValue() - Method in class cgp.runtime.BooleanType
 
getValue() - Method in class cgp.runtime.ConceptType
 
GfxObj - class cgp.runtime.newtypes.GfxObj.
 
GfxObj(Color) - Constructor for class cgp.runtime.newtypes.GfxObj
 
gfxObjs - Variable in class cgp.runtime.newtypes.CGPCanvas
 
GRAPH_LITERAL - Static variable in interface cgp.CGPTokenTypes
 
GRAPH_LITERAL - Static variable in interface cgp.CGPInterpreterTokenTypes
 
GRAPH_STRING - Static variable in interface cgp.CGPTokenTypes
 
GRAPH_STRING - Static variable in interface cgp.CGPInterpreterTokenTypes
 
Graph(Graph, DefiningLabelTable) - Method in class cgp.translators.CGIFGenerator
Generates a graph to the output stream.
GraphComment(String) - Method in class cgp.translators.CGIFGenerator
Generates a graph comment to output stream.
GraphException - exception cgp.runtime.GraphException.
 
GraphException(String) - Constructor for class cgp.runtime.GraphException
 
graphLocation(GraphType) - Method in class cgp.runtime.KBase
Return the specified graph's index in the list or -1 if it is not present.
graphs - Variable in class cgp.runtime.KBase
 
GraphType - class cgp.runtime.GraphType.
 
GraphType(File) - Constructor for class cgp.runtime.GraphType
 
GraphType(Graph) - Constructor for class cgp.runtime.GraphType
 
GraphType(Relation) - Constructor for class cgp.runtime.GraphType
 
GraphType(String) - Constructor for class cgp.runtime.GraphType
 
graphValue() - Method in class cgp.CGPParser
 
GT - Static variable in interface cgp.CGPTokenTypes
 
GT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
gtOp(Type) - Method in class cgp.runtime.Type
 
gtOp(Type) - Method in class cgp.runtime.NumberType
 
gtOp(Type) - Method in class cgp.runtime.StringType
 

H

hasBoundDesignator() - Method in class cgp.runtime.ConceptType
 
hasDesignator() - Method in class cgp.runtime.ConceptType
 
HASH - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
hasMember(Type) - Method in class cgp.runtime.ListType
Is x a member of this list? Note that this is a shallow test.
hasVarDesignator() - Method in class cgp.runtime.ConceptType
 

I

IDENT - Static variable in interface cgp.CGPTokenTypes
 
IDENT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
IDENTIFIER - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
IF_STATEMENT - Static variable in interface cgp.CGPTokenTypes
 
IF_STATEMENT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
ifStatement() - Method in class cgp.CGPParser
 
ifStatement(AST) - Method in class cgp.CGPInterpreter
 
im - Variable in class cgp.runtime.newtypes.Pic
 
imaginaryTokenDefinitions() - Method in class cgp.CGPParser
 
inArgs - Variable in class cgp.runtime.SubActorInfo
 
inc() - Method in class cgp.runtime.NumberType
 
inCount - Variable in class cgp.runtime.ConceptCounts
 
index(StringType) - Method in class cgp.runtime.StringType
Returns the index (>= 1) of the first occurrence of s in this string, or -1 if it is not found.
indexical() - Method in class cgp.translators.AntlrCGIFParser
 
individualMarker() - Method in class cgp.translators.AntlrCGIFParser
 
initActorExecution() - Method in class cgp.runtime.ActorType
Store each sub-actor in a run list.
initialBlock - Variable in class cgp.runtime.ProcessType
 
initializeGenerator(KnowledgeBase, TranslationContext) - Method in class cgp.translators.SimpleGenerator
Private initialization common to the public initializers.
initializeGenerator(Writer, KnowledgeBase, TranslationContext) - Method in class cgp.translators.SimpleGenerator
Initializes the generator to write to the specified writer using the specified TranslationContext and KnowledgeBase.
initializeGenerator(Writer, KnowledgeBase, TranslationContext) - Method in class cgp.translators.CGIFGenerator
Initializes the generator to write to the specified writer using the specified TranslationContext and KnowledgeBase.
initializeParser(File, KnowledgeBase, TranslationContext) - Method in interface cgp.translators.Parser
Initializes the parser to parse the specified character reader.
initializeParser(File, KnowledgeBase, TranslationContext) - Method in class cgp.translators.CGIFParser
Initializes the parser to parse the specified character reader.
initializeParser(Reader, KnowledgeBase, TranslationContext) - Method in class cgp.translators.CGIFParser
Initializes the parser to parse the specified character reader.
initializeParser(String, KnowledgeBase, TranslationContext) - Method in interface cgp.translators.Parser
Initializes the parser to parse the specified character reader.
initializeParser(String, KnowledgeBase, TranslationContext) - Method in class cgp.translators.CGIFParser
Initializes the parser to parse the specified character reader.
INT_NUM - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
intrinsicStatement() - Method in class cgp.CGPParser
 
intrinsicStatement(AST) - Method in class cgp.CGPInterpreter
 
invokeMemberFunc(String, Object[]) - Method in class cgp.runtime.Type
pCG member function invocation.
IS - Static variable in interface cgp.CGPTokenTypes
 
IS - Static variable in interface cgp.CGPInterpreterTokenTypes
 
isAnonymous() - Method in class cgp.runtime.ActorType
Is this an anonymous actor? This will be the case when the constructor whose signature is ActorType(GraphType) is used.
isContext() - Method in class cgp.runtime.ConceptType
 
isExecutable() - Method in class cgp.runtime.ActorType
Is this actor instance still executable?
isExportAllOpt() - Method in class cgp.runtime.Rule
 
isExportAssertOpt() - Method in class cgp.runtime.Rule
 
isExportRetractOpt() - Method in class cgp.runtime.Rule
 
isGeneric() - Method in class cgp.runtime.ConceptType
 
isIn() - Method in class cgp.runtime.FormalParameter
 
isOp(Type) - Method in class cgp.runtime.Type
Is this type of the type specified by the string value other.
isOut() - Method in class cgp.runtime.FormalParameter
 
isSelfReferential - Variable in class cgp.runtime.SubActorInfo
 
isTraceOn() - Static method in class cgp.CGP
 

J

join(Graph) - Method in class cgp.runtime.GraphType
Attempt to join the specified graph onto this one.
join(GraphType) - Method in class cgp.runtime.GraphType
Join operation.
joinAtHead(Graph) - Method in class cgp.runtime.GraphType
Attempt to join the specified graph onto this one at their heads.
joinAtHead(GraphType) - Method in class cgp.runtime.GraphType
Join at head concepts operation.

K

kb - Variable in class cgp.runtime.KBase
 
kbase - Variable in class cgp.runtime.GraphType
 
kbase - Variable in class cgp.runtime.ConceptType
 
kBase - Variable in class cgp.translators.AntlrCGIFParser
 
KBase - class cgp.runtime.KBase.
 
KBASE_NAME - Static variable in class cgp.runtime.KBase
 
KBase() - Constructor for class cgp.runtime.KBase
 
KBase(KBase) - Constructor for class cgp.runtime.KBase
 
kbases - Variable in class cgp.CGPInterpreter
 
kbStack - Static variable in class cgp.runtime.Type
 
knowledgeBase - Variable in class cgp.translators.SimpleGenerator
A knowledge base.
KnowledgeBaseStack - class cgp.runtime.KnowledgeBaseStack.
 
KnowledgeBaseStack() - Constructor for class cgp.runtime.KnowledgeBaseStack
 

L

LAMBDA_DEF - Static variable in interface cgp.CGPTokenTypes
 
LAMBDA_DEF - Static variable in interface cgp.CGPInterpreterTokenTypes
 
lambdaCall(AST, Type, LinkedList) - Method in class cgp.CGPInterpreter
Return a graph with name designators replaced by literal values or markers.
lambdaDef() - Method in class cgp.CGPParser
 
lambdaDef(AST) - Method in class cgp.CGPInterpreter
 
lambdaExpression() - Method in class cgp.translators.AntlrCGIFParser
 
LambdaType - class cgp.runtime.LambdaType.
 
LambdaType(String, FormalParameter[], GraphType) - Constructor for class cgp.runtime.LambdaType
 
LambdaType(String, FormalParameter[], GraphType, Graph) - Constructor for class cgp.runtime.LambdaType
Call this constructor from copy().
LANGLE - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LastException - exception cgp.runtime.LastException.
 
LastException() - Constructor for class cgp.runtime.LastException
 
LBRACE - Static variable in interface cgp.CGPTokenTypes
 
LBRACE - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LBRACE - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LBRACK - Static variable in interface cgp.CGPTokenTypes
 
LBRACK - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LBRACK - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LE - Static variable in interface cgp.CGPTokenTypes
 
LE - Static variable in interface cgp.CGPInterpreterTokenTypes
 
leOp(Type) - Method in class cgp.runtime.Type
 
leOp(Type) - Method in class cgp.runtime.NumberType
 
leOp(Type) - Method in class cgp.runtime.StringType
 
LETTER - Static variable in interface cgp.CGPTokenTypes
 
LETTER - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LETTER - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
lexer - Variable in class cgp.translators.CGIFParser
 
LFOpt - Static variable in class cgp.CGP
 
Line - class cgp.runtime.newtypes.Line.
 
Line(int, int, int, int, Color) - Constructor for class cgp.runtime.newtypes.Line
 
lineTo(int, int) - Method in class cgp.runtime.newtypes.GCPFrame
 
lineTo(NumberType, NumberType) - Method in class cgp.runtime.newtypes.Window
Turtle graphics.
linkConceptTypes(String, String) - Method in class cgp.runtime.KBase
Add a concept type to the hierarchy if it has not already been added, and add an immediate supertype.
linkRelationTypes(String, String) - Method in class cgp.runtime.KBase
Add a relation type to the hierarchy if it has not already been added, and add an immediate supertype.
LIST - Static variable in interface cgp.CGPTokenTypes
 
LIST - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LIST_ASSIGN - Static variable in interface cgp.CGPTokenTypes
 
LIST_ASSIGN - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LIST_SELECTION - Static variable in interface cgp.CGPTokenTypes
 
LIST_SELECTION - Static variable in interface cgp.CGPInterpreterTokenTypes
 
ListType - class cgp.runtime.ListType.
 
ListType() - Constructor for class cgp.runtime.ListType
 
ListType(LinkedList) - Constructor for class cgp.runtime.ListType
 
ListType(Type[]) - Constructor for class cgp.runtime.ListType
 
listValue() - Method in class cgp.CGPParser
 
LITERAL_action - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_action - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_activate - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_activate - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_actor - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_actor - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_and - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_and - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_apply - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_apply - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_assert - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_assert - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_boolean - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_boolean - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_concept - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_concept - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_div - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_div - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_do - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_do - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_either - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LITERAL_else - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_else - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_end - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_end - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_exit - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_exit - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_false - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_false - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_file - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_file - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_foreach - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_foreach - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_function - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_function - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_graph - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_graph - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_if - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_if - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_if - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LITERAL_in - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_in - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_initial - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_initial - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_is - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_is - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_lambda - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_lambda - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_lambda - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LITERAL_last - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_last - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_list - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_list - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_mod - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_mod - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_new - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_new - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_not - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_not - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_number - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_number - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_option - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_option - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_or - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_or - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_or - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LITERAL_out - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_out - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_post - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_post - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_pre - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_pre - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_print - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_print - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_println - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_println - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_process - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_process - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_relation - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_relation - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_retract - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_retract - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_return - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_return - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_rule - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_rule - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_sc - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LITERAL_string - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_string - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_system - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_system - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_then - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_then - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_then - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LITERAL_true - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_true - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_undefined - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_undefined - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LITERAL_while - Static variable in interface cgp.CGPTokenTypes
 
LITERAL_while - Static variable in interface cgp.CGPInterpreterTokenTypes
 
literal() - Method in class cgp.translators.AntlrCGIFParser
 
LiteralDesignator(LiteralDesignator) - Method in class cgp.translators.CGIFGenerator
Generates a literal designator to output stream.
locator() - Method in class cgp.translators.AntlrCGIFParser
 
LPAREN - Static variable in interface cgp.CGPTokenTypes
 
LPAREN - Static variable in interface cgp.CGPInterpreterTokenTypes
 
LPAREN - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
LT - Static variable in interface cgp.CGPTokenTypes
 
LT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
ltOp(Type) - Method in class cgp.runtime.Type
 
ltOp(Type) - Method in class cgp.runtime.NumberType
 
ltOp(Type) - Method in class cgp.runtime.StringType
 

M

main(String[]) - Static method in class cgp.CGP
 
mAMPERSAND(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
MARKER_TABLE_NAME - Static variable in class cgp.translators.CGIFGenerator
Name of MarkerTable unit in context.
MarkerDesignator(MarkerDesignator) - Method in class cgp.translators.CGIFGenerator
Generates a marker designator to output stream.
markerSet - Variable in class cgp.translators.SimpleGenerator
The marker set from the knowledge base.
mAT(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
MATCH_EXACT - Static variable in class cgp.runtime.GraphType
 
MATCH_EXPRESSION - Static variable in interface cgp.CGPTokenTypes
 
MATCH_EXPRESSION - Static variable in interface cgp.CGPInterpreterTokenTypes
 
MATCH_SUBGRAPH - Static variable in class cgp.runtime.GraphType
 
matchExpression() - Method in class cgp.CGPParser
 
matchExpression(AST) - Method in class cgp.CGPInterpreter
 
matchExpressions - Variable in class cgp.runtime.Rule
 
matchFound(AST, Type, KBase, ListType) - Method in class cgp.CGPInterpreter
 
matchGraphNegations - Variable in class cgp.runtime.Rule
 
mCOLON(boolean) - Method in class cgp.CGPLexer
 
mCOLON(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mCOMMA(boolean) - Method in class cgp.CGPLexer
 
mCOMMA(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mCOMMENT(boolean) - Method in class cgp.CGPLexer
 
mCOMMENT(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mDIGIT(boolean) - Method in class cgp.CGPLexer
 
mDIGIT(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mDOT(boolean) - Method in class cgp.CGPLexer
 
mDOT(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
MEMBER_FUNCALL - Static variable in interface cgp.CGPTokenTypes
 
MEMBER_FUNCALL - Static variable in interface cgp.CGPInterpreterTokenTypes
 
member(Type) - Method in class cgp.runtime.ListType
Is x a member of this list, or of a sub-list of this list? If so, return the sub-list within which it is embedded.
memberFunCall() - Method in class cgp.CGPParser
 
memberFunCall(AST) - Method in class cgp.CGPInterpreter
 
mEQ(boolean) - Method in class cgp.CGPLexer
 
merge(Type) - Method in class cgp.runtime.ListType
Merge another list with this list, appending the former's members to the latter's, and returning the mutated list.
METACHAR - Static variable in interface cgp.CGPTokenTypes
 
METACHAR - Static variable in interface cgp.CGPInterpreterTokenTypes
 
mEXPONENT(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mGE(boolean) - Method in class cgp.CGPLexer
 
mGETS(boolean) - Method in class cgp.CGPLexer
 
mGRAPH_STRING(boolean) - Method in class cgp.CGPLexer
 
mGT(boolean) - Method in class cgp.CGPLexer
 
mHASH(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mIDENT(boolean) - Method in class cgp.CGPLexer
 
mIDENTIFIER(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
MINUS - Static variable in interface cgp.CGPTokenTypes
 
MINUS - Static variable in interface cgp.CGPInterpreterTokenTypes
 
mLANGLE(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mLBRACE(boolean) - Method in class cgp.CGPLexer
 
mLBRACE(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mLBRACK(boolean) - Method in class cgp.CGPLexer
 
mLBRACK(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mLE(boolean) - Method in class cgp.CGPLexer
 
mLETTER(boolean) - Method in class cgp.CGPLexer
 
mLETTER(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mLPAREN(boolean) - Method in class cgp.CGPLexer
 
mLPAREN(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mLT(boolean) - Method in class cgp.CGPLexer
 
mMETACHAR(boolean) - Method in class cgp.CGPLexer
 
mMINUS(boolean) - Method in class cgp.CGPLexer
 
mMUL(boolean) - Method in class cgp.CGPLexer
 
mNAME(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mNE(boolean) - Method in class cgp.CGPLexer
 
mNEGATION_PREFIX(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mNUMBER(boolean) - Method in class cgp.CGPLexer
 
mNUMBER(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
modulusOp(Type) - Method in class cgp.runtime.Type
 
modulusOp(Type) - Method in class cgp.runtime.NumberType
 
moveTo(int, int) - Method in class cgp.runtime.newtypes.GCPFrame
 
moveTo(NumberType, NumberType) - Method in class cgp.runtime.newtypes.Window
Turtle graphics.
mPERCENT(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mPLUS(boolean) - Method in class cgp.CGPLexer
 
mQUESTION(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mQUOTEDSTR(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mRANGLE(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mRBRACE(boolean) - Method in class cgp.CGPLexer
 
mRBRACE(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mRBRACK(boolean) - Method in class cgp.CGPLexer
 
mRBRACK(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mRPAREN(boolean) - Method in class cgp.CGPLexer
 
mRPAREN(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mSEMI(boolean) - Method in class cgp.CGPLexer
 
mSTAR(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mSTRING(boolean) - Method in class cgp.CGPLexer
 
mTILDE(boolean) - Method in class cgp.CGPLexer
 
mTILDE(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
MUL - Static variable in interface cgp.CGPTokenTypes
 
MUL - Static variable in interface cgp.CGPInterpreterTokenTypes
 
mulExpr() - Method in class cgp.CGPParser
 
multiplyOp(Type) - Method in class cgp.runtime.Type
 
multiplyOp(Type) - Method in class cgp.runtime.NumberType
 
mUNSIGNEDINT(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
MUTATE_KB_EXPRESSION - Static variable in interface cgp.CGPTokenTypes
 
MUTATE_KB_EXPRESSION - Static variable in interface cgp.CGPInterpreterTokenTypes
 
mutateGraphExportOpts - Variable in class cgp.runtime.Rule
 
mutateKB(AST, Type, boolean, Rule, KBase, KBase) - Method in class cgp.CGPInterpreter
 
mutateKBExpression() - Method in class cgp.CGPParser
 
mutateKBExpression(AST) - Method in class cgp.CGPInterpreter
 
mutateKBExpressions - Variable in class cgp.runtime.Rule
 
mVERTBAR(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 
mWS(boolean) - Method in class cgp.CGPLexer
 
mWS(boolean) - Method in class cgp.translators.AntlrCGIFLexer
 

N

name - Variable in class cgp.runtime.FormalParameter
 
name - Variable in class cgp.runtime.LambdaType
 
name - Variable in class cgp.runtime.ProcessType
 
name - Variable in class cgp.runtime.FunctionType
 
name - Variable in class cgp.runtime.Rule
 
name - Variable in class cgp.translators.DefinedQuantifier
 
NAME - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
NameDesignator(NameDesignator) - Method in class cgp.translators.CGIFGenerator
Generates a name designator to output stream.
Namespace - class cgp.runtime.Namespace.
 
Namespace() - Constructor for class cgp.runtime.Namespace
 
Namespace(HashMap) - Constructor for class cgp.runtime.Namespace
 
NE - Static variable in interface cgp.CGPTokenTypes
 
NE - Static variable in interface cgp.CGPInterpreterTokenTypes
 
NEG_TYPE_LABEL - Static variable in class cgp.translators.CGIFGenerator
Type label for negation relation type.
negateOp() - Method in class cgp.runtime.Type
 
negateOp() - Method in class cgp.runtime.NumberType
 
NEGATION_PREFIX - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
negation() - Method in class cgp.translators.AntlrCGIFParser
 
neOp(Type) - Method in class cgp.runtime.Type
 
neOp(Type) - Method in class cgp.runtime.NumberType
 
neOp(Type) - Method in class cgp.runtime.StringType
 
neOp(Type) - Method in class cgp.runtime.ListType
 
neOp(Type) - Method in class cgp.runtime.BooleanType
 
neOp(Type) - Method in class cgp.runtime.ConceptType
 
NEW_VALUE - Static variable in interface cgp.CGPTokenTypes
 
NEW_VALUE - Static variable in interface cgp.CGPInterpreterTokenTypes
 
newValue() - Method in class cgp.CGPParser
 
nextToken() - Method in class cgp.CGPLexer
 
nextToken() - Method in class cgp.translators.AntlrCGIFLexer
 
nocomments() - Method in class cgp.runtime.GraphType
Make a copy of this graph without comments.
nocomments() - Method in class cgp.runtime.ConceptType
Make a copy of this concept without comments.
nodeKind() - Method in class cgp.CGPParser
 
nodeKind(AST) - Method in class cgp.CGPInterpreter
 
NOT - Static variable in interface cgp.CGPTokenTypes
 
NOT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
notOp() - Method in class cgp.runtime.Type
 
notOp() - Method in class cgp.runtime.BooleanType
 
NULL_TREE_LOOKAHEAD - Static variable in interface cgp.CGPTokenTypes
 
NULL_TREE_LOOKAHEAD - Static variable in interface cgp.CGPInterpreterTokenTypes
 
NULL_TREE_LOOKAHEAD - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
number - Variable in class cgp.translators.NumericQuantifier
 
NUMBER - Static variable in interface cgp.CGPTokenTypes
 
NUMBER - Static variable in interface cgp.CGPInterpreterTokenTypes
 
NUMBER - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
number() - Method in class cgp.translators.AntlrCGIFParser
 
NumberType - class cgp.runtime.NumberType.
 
NumberType(double) - Constructor for class cgp.runtime.NumberType
 
NumericQuantifier - class cgp.translators.NumericQuantifier.
A class which represents a numeric concept referent quantifier, for example: @3.
NumericQuantifier(int) - Constructor for class cgp.translators.NumericQuantifier
 

O

obs - Variable in class cgp.runtime.newtypes.Pic
 
open(StringType, NumberType, NumberType, NumberType, NumberType) - Method in class cgp.runtime.newtypes.Window
Open a graphics window.
operationError(String) - Method in class cgp.runtime.Type
 
operationExpr(AST) - Method in class cgp.CGPInterpreter
 
OPTION_LIST - Static variable in interface cgp.CGPTokenTypes
 
OPTION_LIST - Static variable in interface cgp.CGPInterpreterTokenTypes
 
optionList() - Method in class cgp.CGPParser
 
optionStatement(AST) - Method in class cgp.CGPInterpreter
 
OR - Static variable in interface cgp.CGPTokenTypes
 
OR - Static variable in interface cgp.CGPInterpreterTokenTypes
 
origPath - Variable in class cgp.runtime.FileType
 
orOp(Type) - Method in class cgp.runtime.Type
 
orOp(Type) - Method in class cgp.runtime.BooleanType
 
out - Variable in class cgp.runtime.FormalParameter
 
outArgs - Variable in class cgp.runtime.SubActorInfo
 
outCount - Variable in class cgp.runtime.ConceptCounts
 

P

paint(Graphics) - Method in class cgp.runtime.newtypes.CGPCanvas
 
parseActor() - Method in class cgp.translators.CGIFParser
Attempts to parse an actor from the input stream.
parseConcept() - Method in class cgp.translators.CGIFParser
Attempts to parse a concept from the input stream.
parseConcept(String) - Method in class cgp.runtime.ConceptType
 
parseGraph() - Method in class cgp.translators.CGIFParser
Attempts to parse a graph from the input stream.
parseGraph(Object) - Method in class cgp.runtime.GraphType
 
parseGraphStream() - Method in interface cgp.translators.Parser
Attempts to parse a graph stream from the input.
parseGraphStream() - Method in class cgp.translators.CGIFParser
Attempts to parse a graph stream from the input.
parseOutermostContext() - Method in class cgp.translators.CGIFParser
Attempts to parse a graph which is treated as the outermost context for purposes for scoping.
parser - Variable in class cgp.translators.CGIFParser
 
Parser - interface cgp.translators.Parser.
Additional functionality to support ANTLR CGIF Parser and June 2001 CG Standard which includes CG Streams.
parseRelation() - Method in class cgp.translators.CGIFParser
Attempts to parse a relation from the input stream.
parseUnit() - Method in class cgp.translators.CGIFParser
Attempts to parse the default unit from the input stream.
path - Variable in class cgp.runtime.FileType
 
path - Variable in class cgp.translators.CGIFParser
 
peek() - Method in class cgp.runtime.ScopeStack
 
peek() - Method in class cgp.runtime.KnowledgeBaseStack
 
peek() - Method in class cgp.translators.ContextScopeStack
 
PERCENT - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
Pic - class cgp.runtime.newtypes.Pic.
 
Pic(Image, ImageObserver, int, int, Color) - Constructor for class cgp.runtime.newtypes.Pic
 
PLUS - Static variable in interface cgp.CGPTokenTypes
 
PLUS - Static variable in interface cgp.CGPInterpreterTokenTypes
 
pop() - Method in class cgp.runtime.ScopeStack
 
pop() - Method in class cgp.runtime.KnowledgeBaseStack
 
pop() - Method in class cgp.translators.ContextScopeStack
 
POST_DEF - Static variable in interface cgp.CGPTokenTypes
 
POST_DEF - Static variable in interface cgp.CGPInterpreterTokenTypes
 
postconditionActionBlock - Variable in class cgp.runtime.Rule
 
postDef() - Method in class cgp.CGPParser
 
pow(NumberType) - Method in class cgp.runtime.NumberType
pCG member functions.
PRE_DEF - Static variable in interface cgp.CGPTokenTypes
 
PRE_DEF - Static variable in interface cgp.CGPInterpreterTokenTypes
 
preconditionActionBlock - Variable in class cgp.runtime.Rule
 
preDef() - Method in class cgp.CGPParser
 
prepend(Type) - Method in class cgp.runtime.ListType
Prepend a value to this list and return the mutated list.
PROCESS_DEF - Static variable in interface cgp.CGPTokenTypes
 
PROCESS_DEF - Static variable in interface cgp.CGPInterpreterTokenTypes
 
processCall(AST, Type, LinkedList) - Method in class cgp.CGPInterpreter
Invoke a process -- the main point of pCG.
processDef() - Method in class cgp.CGPParser
 
processDef(AST) - Method in class cgp.CGPInterpreter
 
processParamKind() - Method in class cgp.CGPParser
 
processParamKind(AST) - Method in class cgp.CGPInterpreter
 
ProcessType - class cgp.runtime.ProcessType.
 
ProcessType(String, FormalParameter[], AST, Rule[]) - Constructor for class cgp.runtime.ProcessType
 
program() - Method in class cgp.CGPParser
 
program(AST) - Method in class cgp.CGPInterpreter
 
project(Graph) - Method in class cgp.runtime.GraphType
Project the specified graph onto this graph, returning the projection as a new graph, or null.
project(GraphType) - Method in class cgp.runtime.GraphType
Project the specified graph onto this graph, returning the projection as a new graph, or undefined.
projectionMatch(GraphType) - Method in class cgp.runtime.KBase
Does the specified graph project onto a graph in the set?
push(ContextScope) - Method in class cgp.translators.ContextScopeStack
 
push(KBase) - Method in class cgp.runtime.KnowledgeBaseStack
 
push(Scope) - Method in class cgp.runtime.ScopeStack
 

Q

quantifier() - Method in class cgp.translators.AntlrCGIFParser
 
Quantifier(Macro) - Method in class cgp.translators.CGIFGenerator
Generates a quantifier to the output stream.
QUESTION - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
QUOTEDSTR - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 

R

random(NumberType) - Method in class cgp.runtime.newtypes.Util
Return a random integer in the range -N-1 <= 0 <= N-1.
RANGLE - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
RBRACE - Static variable in interface cgp.CGPTokenTypes
 
RBRACE - Static variable in interface cgp.CGPInterpreterTokenTypes
 
RBRACE - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
RBRACK - Static variable in interface cgp.CGPTokenTypes
 
RBRACK - Static variable in interface cgp.CGPInterpreterTokenTypes
 
RBRACK - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
readall() - Method in class cgp.runtime.FileType
 
reader - Variable in class cgp.runtime.FileType
 
readGraph() - Method in class cgp.runtime.FileType
 
readGraphStream() - Method in class cgp.runtime.FileType
 
readline() - Method in class cgp.runtime.FileType
pCG member functions.
referent(Concept) - Method in class cgp.translators.AntlrCGIFParser
 
Referent(Referent, DefiningLabelTable) - Method in class cgp.translators.CGIFGenerator
Generates a referent to the output stream.
relation() - Method in class cgp.translators.AntlrCGIFParser
 
Relation(Relation, DefiningLabelTable) - Method in class cgp.translators.CGIFGenerator
Generates a relation to the output stream.
RelationComment(String) - Method in class cgp.translators.CGIFGenerator
Generates a relation comment to output stream.
relationHierarchy - Variable in class cgp.translators.SimpleGenerator
The relation type hierarchy from the knowledge base.
RelationType(RelationType) - Method in class cgp.translators.CGIFGenerator
Generates a relation type to the output stream.
RelationTypeDefinition(RelationTypeDefinition) - Method in class cgp.translators.CGIFGenerator
Generates a relation type definition to the output stream.
relationTypeNames - Variable in class cgp.runtime.KBase
 
relationTypes - Variable in class cgp.runtime.KBase
 
relationTypes - Variable in class cgp.translators.AntlrCGIFParser
 
relExpr() - Method in class cgp.CGPParser
 
render(Graphics) - Method in class cgp.runtime.newtypes.GfxObj
 
render(Graphics) - Method in class cgp.runtime.newtypes.Line
 
render(Graphics) - Method in class cgp.runtime.newtypes.Text
 
render(Graphics) - Method in class cgp.runtime.newtypes.Pic
 
replace(StringType, StringType) - Method in class cgp.runtime.StringType
Replace all occurrences of the single-character string s with the single-character string t in this string.
restrict(ConceptType) - Method in class cgp.runtime.ConceptType
Attempt to restrict this concept by type and/or referent according to the supplied concept.
restriction(ConceptType) - Method in class cgp.runtime.ConceptType
Attempt to restrict this concept by type and/or referent according to the supplied concept.
retract(GraphType) - Method in class cgp.runtime.KBase
Retract a graph, first binding coreference variables.
retract(GraphType, boolean) - Method in class cgp.runtime.KBase
Retract a graph from this knowledge base based upon structural equivalence.
ReturnException - exception cgp.runtime.ReturnException.
 
ReturnException() - Constructor for class cgp.runtime.ReturnException
 
retVal - Variable in class cgp.runtime.Scope
 
rng - Variable in class cgp.runtime.newtypes.Util
 
round() - Method in class cgp.runtime.NumberType
 
RPAREN - Static variable in interface cgp.CGPTokenTypes
 
RPAREN - Static variable in interface cgp.CGPInterpreterTokenTypes
 
RPAREN - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
Rule - class cgp.runtime.Rule.
 
RULE_DEF - Static variable in interface cgp.CGPTokenTypes
 
RULE_DEF - Static variable in interface cgp.CGPInterpreterTokenTypes
 
Rule(String) - Constructor for class cgp.runtime.Rule
 
ruleDef() - Method in class cgp.CGPParser
 
rules - Variable in class cgp.runtime.ProcessType
 
runList - Variable in class cgp.runtime.ActorType
 

S

s - Variable in class cgp.runtime.newtypes.Text
 
Scope - class cgp.runtime.Scope.
 
Scope() - Constructor for class cgp.runtime.Scope
 
scopes - Variable in class cgp.CGPInterpreter
 
scopes - Variable in class cgp.runtime.ActorType
 
scopeStack - Static variable in class cgp.runtime.Type
 
ScopeStack - class cgp.runtime.ScopeStack.
 
ScopeStack() - Constructor for class cgp.runtime.ScopeStack
 
selectionExpr() - Method in class cgp.CGPParser
 
SELF_NAME - Static variable in class cgp.runtime.ActorType
 
SEMI - Static variable in interface cgp.CGPTokenTypes
 
SEMI - Static variable in interface cgp.CGPInterpreterTokenTypes
 
setAllowIncompleteRelations(boolean) - Method in class cgp.translators.CGIFGenerator
Sets a flag indicating whether incomplete relations are allowed whilst generating.
setAttr(String, Type) - Method in class cgp.runtime.Type
Attribute assignment operator (e.g.
setColor(int[]) - Method in class cgp.runtime.newtypes.Window
Set the colour in the CGP graphics window.
setColor(int[]) - Method in class cgp.runtime.newtypes.GCPFrame
 
setColor(ListType) - Method in class cgp.runtime.newtypes.Window
Set the colour in the CGP graphics window.
setDescriptor(GraphType) - Method in class cgp.runtime.ConceptType
 
setDesignator(Type) - Method in class cgp.runtime.ConceptType
 
setDesignatorValue(Type) - Method in class cgp.runtime.ConceptType
Convert a pCG designator value into one consumable by Java.
setExportAllOpt(boolean) - Method in class cgp.runtime.Rule
 
setExportAssertOpt(boolean) - Method in class cgp.runtime.Rule
 
setExportRetractOpt(boolean) - Method in class cgp.runtime.Rule
 
setKBStack(KnowledgeBaseStack) - Static method in class cgp.runtime.Type
 
setMatchExpressions(AST[]) - Method in class cgp.runtime.Rule
 
setMatchGraphNegations(LinkedList) - Method in class cgp.runtime.Rule
 
setMutateGraphExportOpts(LinkedList) - Method in class cgp.runtime.Rule
 
setMutateKBExpressions(AST[]) - Method in class cgp.runtime.Rule
 
setNthOp(Type, Type) - Method in class cgp.runtime.Type
List assignment operator (e.g.
setNthOp(Type, Type) - Method in class cgp.runtime.ListType
Set the Nth element of this list.
setPostconditionActionBlock(AST) - Method in class cgp.runtime.Rule
 
setPreconditionActionBlock(AST) - Method in class cgp.runtime.Rule
 
setReturnValue(Type) - Method in class cgp.runtime.Scope
 
setScopeStack(ScopeStack) - Static method in class cgp.runtime.Type
 
setSupressGraphComments(boolean) - Method in class cgp.translators.CGIFGenerator
Sets a flag indicating whether this generator should supress comments in graphs.
setSupressNodeComments(boolean) - Method in class cgp.translators.CGIFGenerator
Sets a flag indicating whether this generator should supress comments in nodes (Concepts, Relations, and Actors).
setTraceMode(boolean) - Static method in class cgp.CGP
 
setType(String) - Method in class cgp.runtime.Type
 
signature() - Method in class cgp.translators.AntlrCGIFParser
 
SimpleGenerator - class cgp.translators.SimpleGenerator.
An abstract base class for generators.
SimpleGenerator() - Constructor for class cgp.translators.SimpleGenerator
 
sin() - Method in class cgp.runtime.NumberType
 
sleep(NumberType) - Method in class cgp.runtime.newtypes.Util
Sleep for the specified number of seconds or fraction thereof.
specialConLabel() - Method in class cgp.translators.AntlrCGIFParser
 
specialContext(Graph) - Method in class cgp.translators.AntlrCGIFParser
 
sqrt() - Method in class cgp.runtime.NumberType
 
stack - Variable in class cgp.runtime.ScopeStack
 
stack - Variable in class cgp.runtime.KnowledgeBaseStack
 
stack - Variable in class cgp.translators.ContextScopeStack
 
STAR - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
statement() - Method in class cgp.CGPParser
 
statement(AST) - Method in class cgp.CGPInterpreter
 
stream - Variable in class cgp.translators.CGIFParser
 
STRING - Static variable in interface cgp.CGPTokenTypes
 
STRING - Static variable in interface cgp.CGPInterpreterTokenTypes
 
StringType - class cgp.runtime.StringType.
 
StringType(String) - Constructor for class cgp.runtime.StringType
 
structure() - Method in class cgp.translators.AntlrCGIFParser
 
studyGraph() - Method in class cgp.runtime.ActorType
1.
SubActorInfo - class cgp.runtime.SubActorInfo.
 
SubActorInfo(Type, LinkedList, LinkedList) - Constructor for class cgp.runtime.SubActorInfo
 
SubActorInfo(Type, LinkedList, LinkedList, boolean) - Constructor for class cgp.runtime.SubActorInfo
 
substring(NumberType) - Method in class cgp.runtime.StringType
Returns a substring of this string from start to the end of the string, where start is >= 1.
substring(NumberType, NumberType) - Method in class cgp.runtime.StringType
Returns a substring of this string where start and end are >= 1 and <= length of string.
subtractOp(Type) - Method in class cgp.runtime.Type
 
subtractOp(Type) - Method in class cgp.runtime.NumberType
 
supressGraphComments - Variable in class cgp.translators.CGIFGenerator
Flag indicating whether the generator should supress graph comments.
supressNodeComments - Variable in class cgp.translators.CGIFGenerator
Flag indicating whether the generator should supress node comments.
systemStatement(AST, Type) - Method in class cgp.CGPInterpreter
 

T

table - Variable in class cgp.runtime.Namespace
 
table - Variable in class cgp.translators.ContextScope
 
tan() - Method in class cgp.runtime.NumberType
 
Text - class cgp.runtime.newtypes.Text.
 
Text(String, int, int, Color) - Constructor for class cgp.runtime.newtypes.Text
 
theList - Variable in class cgp.runtime.ListType
 
TILDE - Static variable in interface cgp.CGPTokenTypes
 
TILDE - Static variable in interface cgp.CGPInterpreterTokenTypes
 
TILDE - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
toBoolean() - Method in class cgp.runtime.StringType
 
toGraph() - Method in class cgp.runtime.StringType
 
toNumber() - Method in class cgp.runtime.StringType
 
topLevelKBase - Variable in class cgp.CGPInterpreter
 
topLevelScope - Variable in class cgp.CGPInterpreter
 
topLevelStatement() - Method in class cgp.CGPParser
 
topLevelStatement(AST) - Method in class cgp.CGPInterpreter
 
toString() - Method in class cgp.runtime.NumberType
 
toString() - Method in class cgp.runtime.FileType
 
toString() - Method in class cgp.runtime.FormalParameter
 
toString() - Method in class cgp.runtime.LambdaType
 
toString() - Method in class cgp.runtime.ProcessType
 
toString() - Method in class cgp.runtime.SubActorInfo
 
toString() - Method in class cgp.runtime.StringType
 
toString() - Method in class cgp.runtime.ListType
 
toString() - Method in class cgp.runtime.GraphType
 
toString() - Method in class cgp.runtime.FunctionType
 
toString() - Method in class cgp.runtime.KBase
 
toString() - Method in class cgp.runtime.BooleanType
 
toString() - Method in class cgp.runtime.Rule
 
toString() - Method in class cgp.runtime.UndefinedType
 
toString() - Method in class cgp.runtime.ConceptType
 
toString() - Method in class cgp.runtime.newtypes.Window
 
trace - Variable in class cgp.CGPInterpreter
 
traceOn - Static variable in class cgp.CGP
 
translationContext - Variable in class cgp.translators.SimpleGenerator
A translation context.
tree - Variable in class cgp.CGPInterpreter
 
treeOn - Static variable in class cgp.translators.CGIFParser
 
turn(int) - Method in class cgp.runtime.newtypes.GCPFrame
 
turn(NumberType) - Method in class cgp.runtime.newtypes.Window
Turtle graphics.
type - Variable in class cgp.runtime.Type
 
Type - class cgp.runtime.Type.
 
TYPE_DECL - Static variable in interface cgp.CGPTokenTypes
 
TYPE_DECL - Static variable in interface cgp.CGPInterpreterTokenTypes
 
TYPE_VALUE - Static variable in interface cgp.CGPTokenTypes
 
TYPE_VALUE - Static variable in interface cgp.CGPInterpreterTokenTypes
 
type() - Method in class cgp.translators.AntlrCGIFParser
 
Type() - Constructor for class cgp.runtime.Type
 
typeDecl() - Method in class cgp.CGPParser
 
typeDecl(AST) - Method in class cgp.CGPInterpreter
 
typeExpression() - Method in class cgp.translators.AntlrCGIFParser
 
typeLabel() - Method in class cgp.translators.AntlrCGIFParser
 
typeTerm() - Method in class cgp.translators.AntlrCGIFParser
 
typeValue() - Method in class cgp.CGPParser
 
typeValue(AST) - Method in class cgp.CGPInterpreter
 

U

unaryExpr() - Method in class cgp.CGPParser
 
undefined - Static variable in class cgp.runtime.UndefinedType
 
UndefinedType - class cgp.runtime.UndefinedType.
 
UndefinedType() - Constructor for class cgp.runtime.UndefinedType
 
UNSIGNEDINT - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 
USE_LITERAL_CONCEPTS_IN_RELATORS - Static variable in class cgp.translators.CGIFGenerator
Flag that enables 'inlining' of concepts within relations where possible.
Util - class cgp.runtime.newtypes.Util.
 
Util() - Constructor for class cgp.runtime.newtypes.Util
 

V

value - Variable in class cgp.runtime.NumberType
 
value - Variable in class cgp.runtime.StringType
 
value - Variable in class cgp.runtime.GraphType
 
value - Variable in class cgp.runtime.BooleanType
 
value - Variable in class cgp.runtime.ConceptType
 
VALUE_SELECTOR - Static variable in interface cgp.CGPTokenTypes
 
VALUE_SELECTOR - Static variable in interface cgp.CGPInterpreterTokenTypes
 
VAR_ASSIGN - Static variable in interface cgp.CGPTokenTypes
 
VAR_ASSIGN - Static variable in interface cgp.CGPInterpreterTokenTypes
 
VERTBAR - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 

W

walk(int) - Method in class cgp.runtime.newtypes.GCPFrame
 
walk(NumberType) - Method in class cgp.runtime.newtypes.Window
Turtle graphics.
WHILE_STATEMENT - Static variable in interface cgp.CGPTokenTypes
 
WHILE_STATEMENT - Static variable in interface cgp.CGPInterpreterTokenTypes
 
whileStatement() - Method in class cgp.CGPParser
 
whileStatement(AST) - Method in class cgp.CGPInterpreter
 
Window - class cgp.runtime.newtypes.Window.
 
Window() - Constructor for class cgp.runtime.newtypes.Window
 
windowClosing(WindowEvent) - Method in class cgp.runtime.newtypes.GCPFrameListener
 
write(StringType) - Method in class cgp.runtime.FileType
 
writeln(StringType) - Method in class cgp.runtime.FileType
 
writer - Variable in class cgp.runtime.FileType
 
writer - Variable in class cgp.translators.SimpleGenerator
The writer to which the writer will write.
WS - Static variable in interface cgp.CGPTokenTypes
 
WS - Static variable in interface cgp.CGPInterpreterTokenTypes
 
WS - Static variable in interface cgp.translators.AntlrCGIFTokenTypes
 

X

x - Variable in class cgp.runtime.newtypes.GCPFrame
 
x - Variable in class cgp.runtime.newtypes.Text
 
x - Variable in class cgp.runtime.newtypes.Pic
 
x1 - Variable in class cgp.runtime.newtypes.Line
 
x2 - Variable in class cgp.runtime.newtypes.Line
 

Y

y - Variable in class cgp.runtime.newtypes.GCPFrame
 
y - Variable in class cgp.runtime.newtypes.Text
 
y - Variable in class cgp.runtime.newtypes.Pic
 
y1 - Variable in class cgp.runtime.newtypes.Line
 
y2 - Variable in class cgp.runtime.newtypes.Line
 

_

_tokenNames - Static variable in class cgp.CGPParser
 
_tokenNames - Static variable in class cgp.CGPInterpreter
 
_tokenNames - Static variable in class cgp.translators.AntlrCGIFParser
 
_tokenSet_0 - Static variable in class cgp.CGPLexer
 
_tokenSet_0 - Static variable in class cgp.CGPParser
 
_tokenSet_0 - Static variable in class cgp.CGPInterpreter
 
_tokenSet_0 - Static variable in class cgp.translators.AntlrCGIFParser
 
_tokenSet_0 - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_0_data_ - Static variable in class cgp.CGPLexer
 
_tokenSet_0_data_ - Static variable in class cgp.CGPParser
 
_tokenSet_0_data_ - Static variable in class cgp.CGPInterpreter
 
_tokenSet_0_data_ - Static variable in class cgp.translators.AntlrCGIFParser
 
_tokenSet_0_data_ - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_1 - Static variable in class cgp.CGPLexer
 
_tokenSet_1 - Static variable in class cgp.CGPParser
 
_tokenSet_1 - Static variable in class cgp.CGPInterpreter
 
_tokenSet_1 - Static variable in class cgp.translators.AntlrCGIFParser
 
_tokenSet_1 - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_1_data_ - Static variable in class cgp.CGPLexer
 
_tokenSet_1_data_ - Static variable in class cgp.CGPParser
 
_tokenSet_1_data_ - Static variable in class cgp.CGPInterpreter
 
_tokenSet_1_data_ - Static variable in class cgp.translators.AntlrCGIFParser
 
_tokenSet_1_data_ - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_2 - Static variable in class cgp.CGPLexer
 
_tokenSet_2 - Static variable in class cgp.CGPParser
 
_tokenSet_2 - Static variable in class cgp.CGPInterpreter
 
_tokenSet_2 - Static variable in class cgp.translators.AntlrCGIFParser
 
_tokenSet_2 - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_2_data_ - Static variable in class cgp.CGPLexer
 
_tokenSet_2_data_ - Static variable in class cgp.CGPParser
 
_tokenSet_2_data_ - Static variable in class cgp.CGPInterpreter
 
_tokenSet_2_data_ - Static variable in class cgp.translators.AntlrCGIFParser
 
_tokenSet_2_data_ - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_3 - Static variable in class cgp.CGPLexer
 
_tokenSet_3 - Static variable in class cgp.CGPParser
 
_tokenSet_3 - Static variable in class cgp.translators.AntlrCGIFParser
 
_tokenSet_3 - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_3_data_ - Static variable in class cgp.CGPLexer
 
_tokenSet_3_data_ - Static variable in class cgp.CGPParser
 
_tokenSet_3_data_ - Static variable in class cgp.translators.AntlrCGIFParser
 
_tokenSet_3_data_ - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_4 - Static variable in class cgp.CGPParser
 
_tokenSet_4 - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_4_data_ - Static variable in class cgp.CGPParser
 
_tokenSet_4_data_ - Static variable in class cgp.translators.AntlrCGIFLexer
 
_tokenSet_5 - Static variable in class cgp.CGPParser
 
_tokenSet_5_data_ - Static variable in class cgp.CGPParser
 

A B C D E F G H I J K L M N O P Q R S T U V W X Y _