Modifier and Type | Method and Description |
---|---|
Vertex |
AIMLParser.createSentenceState(Vertex stateMachine,
Network network) |
Vertex |
AIMLParser.createState(Vertex pattern,
Vertex parent,
Network network)
Create a left child state node for the pattern.
|
Vertex |
AIMLParser.parseAIML(java.io.File file,
boolean parseAsStateMachine,
boolean createStates,
boolean pin,
boolean indexStatic,
Vertex stateMachine,
java.lang.String encoding,
Network network)
Get the contents of the URL to a .aiml file and parse it.
|
Vertex |
AIMLParser.parseAIML(java.lang.String code,
boolean parseAsStateMachine,
boolean createStates,
boolean pin,
boolean indexStatic,
Vertex stateMachine,
Network network)
Parse the code into a vertex state machine defined in the network.
|
Vertex |
AIMLParser.parseAIML(java.net.URL url,
boolean parseAsStateMachine,
boolean createStates,
boolean pin,
boolean indexStatic,
Vertex stateMachine,
java.lang.String encoding,
Network network)
Get the contents of the URL to a .aiml file and parse it.
|
Vertex |
AIMLParser.parseAIMLTemplate(java.lang.String code,
Network network)
Parse the template into a forumla defined in the network.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
AIMLParser.createSentenceState(Vertex stateMachine,
Network network) |
Vertex |
AIMLParser.createState(Vertex pattern,
Vertex parent,
Network network)
Create a left child state node for the pattern.
|
Vertex |
AIMLParser.parseAIML(java.io.File file,
boolean parseAsStateMachine,
boolean createStates,
boolean pin,
boolean indexStatic,
Vertex stateMachine,
java.lang.String encoding,
Network network)
Get the contents of the URL to a .aiml file and parse it.
|
Vertex |
AIMLParser.parseAIML(java.lang.String code,
boolean parseAsStateMachine,
boolean createStates,
boolean pin,
boolean indexStatic,
Vertex stateMachine,
Network network)
Parse the code into a vertex state machine defined in the network.
|
Vertex |
AIMLParser.parseAIML(java.net.URL url,
boolean parseAsStateMachine,
boolean createStates,
boolean pin,
boolean indexStatic,
Vertex stateMachine,
java.lang.String encoding,
Network network)
Get the contents of the URL to a .aiml file and parse it.
|
void |
AIMLParser.parseCategory(org.w3c.dom.Element category,
Vertex topic,
boolean parseAsStateMachine,
boolean createStates,
boolean pin,
boolean indexStatic,
Vertex sentenceState,
java.util.Map<java.lang.String,Vertex> cache,
Network network) |
Modifier and Type | Method and Description |
---|---|
void |
AIMLParser.parseCategory(org.w3c.dom.Element category,
Vertex topic,
boolean parseAsStateMachine,
boolean createStates,
boolean pin,
boolean indexStatic,
Vertex sentenceState,
java.util.Map<java.lang.String,Vertex> cache,
Network network) |
Modifier and Type | Method and Description |
---|---|
void |
Avatar.evaluateOutput(Vertex output)
Evaluate the output and express in the Avatar's image.
|
void |
Avatar.evaluateResponse(Vertex output,
Vertex response,
Vertex meta,
java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluate the input response for actions and poses.
|
Modifier and Type | Method and Description |
---|---|
void |
Avatar.evaluateResponse(Vertex output,
Vertex response,
Vertex meta,
java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluate the input response for actions and poses.
|
void |
Avatar.evaluateResponse(Vertex output,
Vertex response,
Vertex meta,
java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluate the input response for actions and poses.
|
Modifier and Type | Method and Description |
---|---|
EmotionalState |
Mood.evaluateEmotionalState(Vertex output)
Determine the main emotional state of the output.
|
java.util.List<EmotionalState> |
Mood.evaluateEmotionalStates(Vertex output)
Determine the emotional states of the output.
|
void |
Mood.evaluateOutput(Vertex output)
Evaluate the output and express emotion.
|
void |
Mood.evaluateResponse(Vertex response,
Vertex meta)
Evaluate the input response for emotional influence.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
Memory.addActiveMemory(Vertex vertex)
Add the sensory data to the active memory.
|
Vertex |
Vertex.applyEval(java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluates any eval functions in the equation or formula..
|
Vertex |
Vertex.applyQuotient(java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the quotient.
|
Vertex |
Vertex.copy()
Create a copy of the vertex with all of the same relationships.
|
Vertex |
Network.createAnonymousSpeaker()
Create a new anonymous speaker.
|
Vertex |
Network.createFormula(java.lang.String text)
Compile the forumla response.
|
Vertex |
Network.createFragment(java.lang.String text)
Tokenize the text into its words and create a vertex representation of the sentence fragment.
|
Vertex |
Network.createInstance(Primitive type)
Create a new instance of the type.
|
Vertex |
Network.createInstance(Vertex type)
Create a new instance of the type.
|
Vertex |
Network.createMeta(Relationship relationship)
Return the relationship meta vertex.
|
Vertex |
Network.createName(java.lang.String name)
Find or create the speaker with the name.
|
Vertex |
Network.createNewObject(java.lang.String name)
Create the word, and a new meaning.
|
Vertex |
Network.createObject(java.lang.String name)
Create the word, and its meaning.
|
Vertex |
Network.createParagraph(java.lang.String text)
Tokenize the paragraph into its sentences and create a vertex representation.
|
Vertex |
Network.createParagraph(Vertex sentence)
Convert the sentence to a paragraph if it has multiple phrases.
|
Vertex |
Network.createPattern(java.lang.String text)
Tokenize the sentence pattern into its words and wildcrads, and create a vertex representation.
|
Vertex |
Network.createPattern(java.lang.String text,
SelfCompiler compiler)
Tokenize the sentence pattern into its words and wildcrads, and create a vertex representation.
|
Vertex |
Network.createPrimitive(java.lang.String name)
Create the primitive and associate the word to it.
|
Vertex |
Network.createSentence(java.lang.String text)
Tokenize the sentence into its words and create a vertex representation.
|
Vertex |
Network.createSentence(java.lang.String text,
boolean generated)
Tokenize the sentence into its words and create a vertex representation.
|
Vertex |
Network.createSentence(java.lang.String text,
boolean generated,
boolean reduced)
Tokenize the sentence into its words and create a vertex representation.
|
Vertex |
Network.createSentence(java.lang.String text,
boolean generated,
boolean reduced,
boolean whitespace)
Tokenize the sentence into its words and create a vertex representation.
|
Vertex |
Network.createSpeaker(java.lang.String name)
Find or create the speaker with the name.
|
Vertex |
Network.createTemplate(java.lang.String text)
Compile the template response.
|
Vertex |
Network.createTemporyVertex()
Create a temporary, non-persistent vertex.
|
Vertex |
Network.createTimestamp()
Create a timestamp based on the current nanos.
|
Vertex |
Network.createUniqueSpeaker(Primitive id,
Primitive type,
java.lang.String name)
Find or create the speaker from the unique id.
|
Vertex |
Network.createVertex()
Create a new vertex in this network,
assign the id.
|
Vertex |
Network.createVertex(java.lang.Object data)
Create a new vertex in this network with the data.
|
Vertex |
Network.createVertex(Vertex vertex)
Return the matching registered vertex, or register if missing.
|
Vertex |
Network.createWord(java.lang.String text)
Tokenize the text into its words and create a vertex representation of the word or compound word.
|
Vertex |
Vertex.detach()
Create a copy of the vertex with only the id.
|
Vertex |
Network.findByData(java.lang.Object data)
Return the vertex with the given data.
|
Vertex |
Network.findById(java.lang.Number id)
Return the vertex with the given id.
|
Vertex |
Network.findByName(java.lang.String name)
Return the vertex with the given name.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
java.util.Collection<Relationship> associate2,
Vertex associateType2,
java.util.Collection<Relationship> associate3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
java.util.Collection<Relationship> associate3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
Vertex associate3,
Vertex associateType3)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Relationship.getMeta() |
Vertex |
Vertex.getRelationship(Primitive type)
Return any relationship target of the primitive type.
|
Vertex |
Vertex.getRelationship(Vertex type)
Return any relationship target of the type.
|
Vertex |
Relationship.getSource() |
Vertex |
Relationship.getTarget() |
Vertex |
Relationship.getType() |
Vertex |
Vertex.lastRelationship(Primitive type)
Return the last of the ordered relationship, or null.
|
Vertex |
Vertex.lastRelationship(Primitive type,
int fromLast)
Return the fromLast last of the ordered relationship, or null.
|
Vertex |
Vertex.lastRelationship(Vertex type)
Return the last of the ordered relationship, or null.
|
Vertex |
Vertex.lastRelationship(Vertex type,
int fromLast)
Return the fromLast last of the ordered relationship, or null.
|
Vertex |
Vertex.mostConscious(Primitive type)
Return the target vertex related by the type, with the high consciousness level.
|
Vertex |
Vertex.mostConscious(Primitive type,
float min)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
Vertex |
Vertex.mostConscious(Vertex type)
Return the target vertex related by the type, with the high consciousness level.
|
Vertex |
Vertex.mostConscious(Vertex type,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
Vertex.mostConscious(Vertex type,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Vertex |
Vertex.mostConscious(Vertex type,
Vertex classification)
Return the target vertex related by the type, of the classification, with the high consciousness level.
|
Vertex |
Vertex.mostConsciousTargetOfType(Vertex classification)
Return the most conscious target the vertex has any relationship to that is an instantiation of the classification.
|
Vertex |
Vertex.mostConsciousWithAssoiate(Vertex type,
Vertex associate,
Vertex associateType)
Return the target vertex related by the type, that is also most correctly related to the associate vertex by the relationship.
|
Vertex |
Vertex.mostConsciousWithAssoiates(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2)
Return the target vertex related by the type, that is also most correctly related to the associate vertex by the relationship.
|
Vertex |
Vertex.nextMostConscious(Primitive type,
java.util.Set<Vertex> ignoring)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
Vertex |
Vertex.nextMostConscious(Primitive type,
Vertex ignoring,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
Vertex.nextMostConscious(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
Vertex |
Vertex.nextMostConscious(Vertex type,
Vertex ignoring,
float min)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Vertex> |
Network.findAll()
Return all vertices.
|
java.util.List<Vertex> |
Network.findAll(int pageSize,
int page)
Return all vertices.
|
java.util.List<Vertex> |
Network.findAllInstances(Vertex type,
Vertex relationship,
java.util.Calendar start)
Find all relationships related to the vertex or of the vertex type.
|
java.util.List<Vertex> |
Network.findAllLike(java.lang.String filter)
Return all vertices matching the filter.
|
java.util.List<Vertex> |
Network.findAllLike(java.lang.String filter,
int pageSize,
int page)
Return all vertices matching the filter.
|
java.util.List<Vertex> |
Memory.getActiveMemory()
Active memory represents the last sensory state.
|
java.util.Map<Vertex,Vertex> |
VertexIterator.getBreadthSet()
Return the set of vertices for the next breadth first traversal level.
|
java.util.Map<Vertex,Vertex> |
VertexIterator.getBreadthSet()
Return the set of vertices for the next breadth first traversal level.
|
java.util.Map<Vertex,java.util.Map<Relationship,Relationship>> |
Vertex.getRelationships()
Return all relationships.
|
java.util.Map<Vertex,Vertex> |
VertexIterator.getTraversed()
Return the set of already traversed vertices.
|
java.util.Map<Vertex,Vertex> |
VertexIterator.getTraversed()
Return the set of already traversed vertices.
|
java.util.List<Vertex> |
Vertex.orderedRelations(Primitive primitive)
Return all of the relationships targets of the primitive type, sorted by index.
|
java.util.List<Vertex> |
Vertex.orderedRelations(Vertex relationshipType)
Return all of the relationship targets of the type, sorted by index.
|
Modifier and Type | Method and Description |
---|---|
void |
MemoryEventListener.addActiveMemory(Vertex vertex)
A new active memory was added.
|
Vertex |
Memory.addActiveMemory(Vertex vertex)
Add the sensory data to the active memory.
|
void |
VertexIterator.addBreadth(Vertex vertex)
Add the vertex to the breadth set for traversal.
|
Relationship |
Vertex.addRelationship(Primitive type,
Vertex target)
Add the relation of the relationship primitive type to the target vertex.
|
Relationship |
Vertex.addRelationship(Primitive type,
Vertex target,
int index)
Add the relation of the relationship type to the target vertex.
|
Relationship |
Vertex.addRelationship(Vertex type,
Vertex target)
Add the relation of the type to the other vertex.
|
Relationship |
Vertex.addRelationship(Vertex type,
Vertex target,
int index)
Add the relation of the relationship type to the target vertex.
|
Relationship |
Vertex.addRelationship(Vertex type,
Vertex target,
int index,
boolean internal)
Add the relation of the type to the other vertex.
|
void |
Network.addVertex(Vertex vertex)
Register the vertex with the network.
|
Relationship |
Vertex.addWeakRelationship(Primitive type,
Vertex target,
float correctnessMultiplier)
Add the relation of the relationship type to the target vertex.
|
Relationship |
Vertex.addWeakRelationship(Vertex type,
Vertex target,
float correctnessMultiplier)
Add the relation of the relationship type to the target vertex.
|
Relationship |
Vertex.appendRelationship(Primitive type,
Vertex target)
Add the relation of the relationship type to the end of the target vertex relationships.
|
Relationship |
Vertex.appendRelationship(Vertex type,
Vertex target)
Add the relation of the relationship type to the end of the target vertex relationships.
|
void |
Vertex.associateAll(Primitive relationshipType,
Vertex target,
Primitive type)
Associate each of the relationship target vertices with the target vertex by the type.
|
void |
Vertex.associateAll(Vertex relationshipType,
Vertex target,
Vertex type)
Associate each of the relationship target vertices with the target vertex by the type.
|
void |
Network.associateCaseInsensitivity(java.lang.String word,
Vertex meaning)
Associate alternative cases of the word with the meaning.
|
void |
Network.associateCaseInsensitivity(Vertex word)
Associate alternative cases of the word with the meaning, type, tense, etc..
|
void |
Network.checkReduction(Vertex sentence)
Check if the sentence has been reduced, if not, then reduce.
|
boolean |
Vertex.collectMatches(Vertex vertex,
java.util.Map<Vertex,java.util.Set<Vertex>> matches)
Compare if the two vertices match.
|
Vertex |
Network.createInstance(Vertex type)
Create a new instance of the type.
|
Vertex |
Network.createParagraph(Vertex sentence)
Convert the sentence to a paragraph if it has multiple phrases.
|
Vertex |
Network.createVertex(Vertex vertex)
Return the matching registered vertex, or register if missing.
|
boolean |
Vertex.equalsIgnoreCase(Vertex vertex)
Compare the vertices ignoring case.
|
java.util.List<Vertex> |
Network.findAllInstances(Vertex type,
Vertex relationship,
java.util.Calendar start)
Find all relationships related to the vertex or of the vertex type.
|
java.util.List<Relationship> |
Network.findAllRelationshipsTo(Vertex vertex)
Find all relationships related to the vertex or of the vertex relationship type.
|
java.util.List<Relationship> |
Network.findAllRelationshipsTo(Vertex vertex,
Vertex type)
Find all relationships related to the vertex by the type.
|
java.util.List<Relationship> |
Network.findAllRelationshipsTo(Vertex vertex,
Vertex type,
java.util.Date date)
Find all relationships related to the vertex by the type.
|
void |
Vertex.fixRelationships(Vertex type)
Fix the corrupted relationship index order.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
java.util.Collection<Relationship> associate2,
Vertex associateType2,
java.util.Collection<Relationship> associate3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
java.util.Collection<Relationship> associate3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
Vertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
Vertex associate3,
Vertex associateType3)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Relationship |
Vertex.getRelationship(Primitive type,
Vertex target)
Return the relationship to the target of the primitive type.
|
Vertex |
Vertex.getRelationship(Vertex type)
Return any relationship target of the type.
|
Relationship |
Vertex.getRelationship(Vertex type,
Vertex target)
Return the relationship to the target of the primitive type.
|
java.util.Collection<Relationship> |
Vertex.getRelationships(Vertex relationshipType)
Return all relationships of the type.
|
boolean |
Vertex.hasAnyAssociatedInverseRelationship(Primitive associate,
Vertex target,
Primitive type)
Return if any of the associates of the vertex have an inverse/negative relationship of the type to the target.
|
boolean |
Vertex.hasAnyAssociatedInverseRelationship(Vertex associate,
Vertex target,
Vertex type)
Return if any of the associates of the vertex have an inverse/negative relationship of the type to the target.
|
boolean |
Vertex.hasAnyRelationshipToTarget(Vertex target)
Return if the vertex has any relationship to any target.
|
boolean |
Vertex.hasAnyRelationshipToTargetOfType(Vertex classification)
Return if the vertex has any relationship to any target that is an instantiation of the classification.
|
boolean |
Vertex.hasInverseRelationship(Primitive type,
Vertex target)
Return if the vertex has an inverse/negative relationship of the type to the target.
|
boolean |
Vertex.hasInverseRelationship(Vertex type,
Vertex target)
Return if the vertex has an inverse/negative relationship of the type to the target.
|
boolean |
Vertex.hasOrInheritsInverseRelationship(Vertex type,
Vertex target)
Return if the vertex has an inverse/negative relationship of the type to the target.
|
boolean |
Vertex.hasOrInheritsInverseRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has an inverse/negative relationship of the type to the target.
|
boolean |
Vertex.hasOrInheritsRelationship(Vertex type,
Vertex target)
Return if the vertex has a relationship of the type to the target.
|
boolean |
Vertex.hasOrInheritsRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has a relationship of the type to the target.
|
boolean |
Vertex.hasRelationship(Primitive type,
Vertex target)
Return if the vertex has a relationship of the type primitive to the target.
|
boolean |
Vertex.hasRelationship(Vertex type)
Return if the vertex has any relationship of the type.
|
boolean |
Vertex.hasRelationship(Vertex type,
Vertex target)
Return if the vertex has a relationship of the type to the target.
|
void |
Network.importMerge(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Merge the vertex into this network from an import.
|
boolean |
Vertex.instanceOf(Vertex type)
Return if the vertex is an instantiation of the type.
|
boolean |
Vertex.internalHasRelationship(Vertex type,
Vertex target)
Return if the vertex has a relationship of the type to the target.
|
void |
Vertex.internalRemoveRelationship(Vertex type,
Vertex target)
Remove the relation.
|
void |
Vertex.internalRemoveRelationships(Vertex type)
Remove the relationships of the type.
|
void |
Vertex.inverseAssociateAll(Primitive relationshipType,
Vertex source,
Primitive type)
Dissociate each of the relationship target vertices with the target vertex by the type.
|
void |
Vertex.inverseAssociateAll(Vertex relationshipType,
Vertex source,
Vertex type)
Dissociate each of the relationship target vertices with the target vertex by the type.
|
boolean |
VertexIterator.iterate(Vertex vertex)
Iterate on the vertex, and return true if children should be traversed.
|
Vertex |
Vertex.lastRelationship(Vertex type)
Return the last of the ordered relationship, or null.
|
Vertex |
Vertex.lastRelationship(Vertex type,
int fromLast)
Return the fromLast last of the ordered relationship, or null.
|
java.lang.Boolean |
Vertex.matches(Vertex vertex,
java.util.Map<Vertex,Vertex> matches)
Compare if the two vertices match.
|
void |
Network.merge(Vertex source)
Merge the vertex into this network.
|
Vertex |
Vertex.mostConscious(Vertex type)
Return the target vertex related by the type, with the high consciousness level.
|
Vertex |
Vertex.mostConscious(Vertex type,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
Vertex.mostConscious(Vertex type,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Vertex |
Vertex.mostConscious(Vertex type,
Vertex classification)
Return the target vertex related by the type, of the classification, with the high consciousness level.
|
Relationship |
Vertex.mostConsciousRelationship(Vertex type)
Return the relationship related by the type, with the high consciousness level.
|
Vertex |
Vertex.mostConsciousTargetOfType(Vertex classification)
Return the most conscious target the vertex has any relationship to that is an instantiation of the classification.
|
Vertex |
Vertex.mostConsciousWithAssoiate(Vertex type,
Vertex associate,
Vertex associateType)
Return the target vertex related by the type, that is also most correctly related to the associate vertex by the relationship.
|
Vertex |
Vertex.mostConsciousWithAssoiates(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2)
Return the target vertex related by the type, that is also most correctly related to the associate vertex by the relationship.
|
Vertex |
Vertex.nextMostConscious(Primitive type,
Vertex ignoring,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
Vertex.nextMostConscious(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
Vertex |
Vertex.nextMostConscious(Vertex type,
Vertex ignoring,
float min)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
Relationship |
Vertex.nextMostConsciousRelationship(Primitive type,
Vertex ignoring)
Return the relationship related by the type, with the high consciousness level.
|
Relationship |
Vertex.nextMostConsciousRelationship(Primitive type,
Vertex ignoring,
float min)
Return the relationship related by the type, with the high consciousness level greater than the value.
|
Relationship |
Vertex.nextMostConsciousRelationship(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
Relationship |
Vertex.nextMostConsciousRelationship(Vertex type,
Vertex ignoring)
Return the relationship related by the type, with the high consciousness level.
|
java.util.List<Vertex> |
Vertex.orderedRelations(Vertex relationshipType)
Return all of the relationship targets of the type, sorted by index.
|
java.util.List<Relationship> |
Vertex.orderedRelationships(Vertex relationshipType)
Return all of the relationships of the type, sorted by index.
|
java.util.List<Relationship> |
Vertex.orderedRelationshipsByConsciousness(Vertex relationshipType)
Return all of the relationships of the type, sorted by consciousness level.
|
Relationship |
Vertex.removeRelationship(Primitive type,
Vertex target)
Remove the relation of the primitive type from the other vertex.
|
Relationship |
Vertex.removeRelationship(Vertex type,
Vertex target)
Remove the relation of the type from the other vertex.
|
void |
Network.removeVertex(Vertex vertex)
Remove the vertex from the network.
|
void |
Network.removeVertexAndReferences(Vertex vertex)
Remove the vertex and all references to it from the network.
|
void |
Vertex.replaceRelationship(Relationship oldRelationship,
Vertex newTarget)
Replace the relationship with the new target at the same index.
|
void |
Relationship.setMeta(Vertex meta) |
void |
Vertex.setOriginal(Vertex original)
Set the original long term vertex the short term vertex was derived from.
|
void |
Vertex.setRelationship(Primitive type,
Vertex newValue)
Set the relationship, removing the old value.
|
void |
Vertex.setRelationship(Vertex type,
Vertex newValue)
Set the relationship, removing the old value.
|
void |
Relationship.setSource(Vertex source) |
void |
Relationship.setTarget(Vertex target) |
void |
Relationship.setType(Vertex type) |
void |
Vertex.weakAssociateAll(Primitive relationshipType,
Vertex target,
Primitive type,
float correctnessMultiplier)
Associate each of the relationship target vertices with the target vertex by the type.
|
void |
Vertex.weakAssociateAll(Vertex relationshipType,
Vertex target,
Vertex type,
float correctnessMultiplier)
Associate each of the relationship target vertices with the target vertex by the type.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
Vertex.applyEval(java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluates any eval functions in the equation or formula..
|
Vertex |
Vertex.applyEval(java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluates any eval functions in the equation or formula..
|
Vertex |
Vertex.applyQuotient(java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the quotient.
|
Vertex |
Vertex.applyQuotient(java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the quotient.
|
boolean |
Vertex.collectMatches(Vertex vertex,
java.util.Map<Vertex,java.util.Set<Vertex>> matches)
Compare if the two vertices match.
|
boolean |
Vertex.collectMatches(Vertex vertex,
java.util.Map<Vertex,java.util.Set<Vertex>> matches)
Compare if the two vertices match.
|
boolean |
Vertex.hasOrInheritsInverseRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has an inverse/negative relationship of the type to the target.
|
boolean |
Vertex.hasOrInheritsInverseRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has an inverse/negative relationship of the type to the target.
|
boolean |
Vertex.hasOrInheritsRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has a relationship of the type to the target.
|
boolean |
Vertex.hasOrInheritsRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has a relationship of the type to the target.
|
void |
Network.importMerge(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Merge the vertex into this network from an import.
|
void |
Network.importMerge(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Merge the vertex into this network from an import.
|
java.lang.Boolean |
Vertex.matches(Vertex vertex,
java.util.Map<Vertex,Vertex> matches)
Compare if the two vertices match.
|
java.lang.Boolean |
Vertex.matches(Vertex vertex,
java.util.Map<Vertex,Vertex> matches)
Compare if the two vertices match.
|
Vertex |
Vertex.nextMostConscious(Primitive type,
java.util.Set<Vertex> ignoring)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
Vertex |
Vertex.nextMostConscious(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
Relationship |
Vertex.nextMostConsciousRelationship(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex related by the type, with the high consciousness level and correctness greater than the value.
|
void |
VertexIterator.setBreadthSet(java.util.Map<Vertex,Vertex> breadthSet)
Set of vertices for the next breadth first traversal level.
|
void |
VertexIterator.setBreadthSet(java.util.Map<Vertex,Vertex> breadthSet)
Set of vertices for the next breadth first traversal level.
|
Modifier and Type | Method and Description |
---|---|
void |
Sense.output(Vertex output)
Output the active network through the sense, could be text, sound, image, commands etc..
|
void |
Awareness.output(Vertex output)
Allow the sense to output the response.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
BasicAvatar.setAction(Vertex source,
Vertex action)
Self API to set avatar action.
|
Vertex |
BasicAvatar.setCommand(Vertex source,
Vertex command)
Self API to set avatar command.
|
Vertex |
BasicAvatar.setPose(Vertex source,
Vertex pose)
Self API to set avatar pose.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicAvatar.evaluateOutput(Vertex output)
Evaluate the output for emotional expression.
|
void |
BasicAvatar.evaluateResponse(Vertex output,
Vertex response,
Vertex meta,
java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluate the input response for actions and poses.
|
Vertex |
BasicAvatar.setAction(Vertex source,
Vertex action)
Self API to set avatar action.
|
Vertex |
BasicAvatar.setCommand(Vertex source,
Vertex command)
Self API to set avatar command.
|
Vertex |
BasicAvatar.setPose(Vertex source,
Vertex pose)
Self API to set avatar pose.
|
Modifier and Type | Method and Description |
---|---|
void |
BasicAvatar.evaluateResponse(Vertex output,
Vertex response,
Vertex meta,
java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluate the input response for actions and poses.
|
void |
BasicAvatar.evaluateResponse(Vertex output,
Vertex response,
Vertex meta,
java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluate the input response for actions and poses.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
BasicMood.getEmotion(Vertex source,
Vertex emotionVertex)
Self API to get mood.
|
Vertex |
BasicMood.setEmotion(Vertex source,
Vertex emotionVertex,
Vertex valueVertex)
Self API to set mood.
|
Modifier and Type | Method and Description |
---|---|
void |
EmotionalState.apply(Vertex vertex)
Apply the emotion to the vertex.
|
EmotionalState |
BasicMood.evaluateEmotionalState(Vertex output)
Determine the main emotional state of the output.
|
java.util.List<EmotionalState> |
BasicMood.evaluateEmotionalStates(Vertex output)
Determine the emotional states of the output.
|
void |
BasicMood.evaluateOutput(Vertex output)
Evaluate the output with emotional expression.
|
void |
BasicMood.evaluateResponse(Vertex response,
Vertex meta)
Evaluate the input response for emotional influence.
|
Vertex |
BasicMood.getEmotion(Vertex source,
Vertex emotionVertex)
Self API to get mood.
|
Vertex |
BasicMood.setEmotion(Vertex source,
Vertex emotionVertex,
Vertex valueVertex)
Self API to set mood.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicVertex
Represents a piece of knowledge.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
BasicMemory.addActiveMemory(Vertex vertex)
Add the sensory data to the active memory.
|
Vertex |
BasicVertex.applyALL(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the ALL operation.
|
Vertex |
BasicVertex.applyAPPEND(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Append the relationship in order.
|
Vertex |
BasicVertex.applyASSOCIATE(Vertex operator,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the ASSOCIATE or DISSOCIATE operation.
|
Vertex |
BasicVertex.applyCALL(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the call operation.
|
Vertex |
BasicVertex.applyCONDITION(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the OR/AND condition.
|
Vertex |
BasicVertex.applyCOUNT(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the COUNT operation.
|
Vertex |
BasicVertex.applyDEBUG(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the DEBUG operation.
|
Vertex |
BasicVertex.applyEQUAL(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the LESS operation.
|
Vertex |
BasicVertex.applyEval(java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluates any eval functions in the equation or formula..
|
Vertex |
BasicVertex.applyFOR(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the FOR operation.
|
Vertex |
BasicVertex.applyFRAGMENT(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Primitive format)
Apply the FRAGMENT operation.
|
Vertex |
BasicVertex.applyGET(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the GET operation.
|
Vertex |
BasicVertex.applyGREATER(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the GREATER operation.
|
Vertex |
BasicVertex.applyIF(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the IF operation.
|
Vertex |
BasicVertex.applyINPUT(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the INPUT operation.
|
Vertex |
BasicVertex.applyLEARN(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the LEARN operation.
|
Vertex |
BasicVertex.applyLESS(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the LESS operation.
|
Vertex |
BasicVertex.applyNEW(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the NEW operation.
|
Vertex |
BasicVertex.applyQuotient(java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the quotient.
|
Vertex |
BasicVertex.applyRANDOM(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the RANDOM operation.
|
Vertex |
BasicVertex.applyRELATED(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the related operation.
|
Vertex |
BasicVertex.applyRELATION(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the relation operation.
|
Vertex |
BasicVertex.applySENTENCE(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SENTENCE operation.
|
Vertex |
BasicVertex.applySET(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SET operation.
|
Vertex |
BasicVertex.applySRAI(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SRAI operation.
|
Vertex |
BasicVertex.applySRAIX(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SRAIX operation.
|
Vertex |
BasicVertex.applyWHILE(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the WHILE operation.
|
Vertex |
BasicVertex.applyWORD(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the WORD operation.
|
Vertex |
BasicVertex.checkRelationRelationshipForAllWords(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Vertex left,
Vertex right,
Vertex relation,
java.util.Collection<Relationship> words)
Check if any of the words have the relationship.
|
Vertex |
BasicVertex.checkRelationTargetForAllWords(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Vertex left,
Vertex right,
Vertex relation,
java.util.Collection<Relationship> words)
Check if any of the words have the relationship.
|
Vertex |
BasicVertex.copy()
Create a copy of the vertex with all of the same relationships.
|
Vertex |
Bootstrap.createAdjective(java.lang.String text,
Vertex meaning,
Network network)
Create the adjective with the meaning.
|
Vertex |
AbstractNetwork.createAnonymousSpeaker()
Create a new anonymous speaker.
|
Vertex |
Bootstrap.createArticle(java.lang.String text,
Vertex meaning,
Network network)
Create the article with the meaning.
|
Vertex |
AbstractNetwork.createFormula(java.lang.String code)
Compile the forumla response.
|
Vertex |
AbstractNetwork.createFragment(java.lang.String text)
Tokenize the fragment into its words and create a vertex representation.
|
Vertex |
AbstractNetwork.createInstance(Primitive type)
Create a new instance of the type.
|
Vertex |
AbstractNetwork.createInstance(Vertex type)
Create a new instance of the type.
|
Vertex |
AbstractNetwork.createMeta(Relationship relationship)
Return the relationship meta vertex.
|
Vertex |
AbstractNetwork.createName(java.lang.String text)
Create the word as a name.
|
Vertex |
Bootstrap.createName(java.lang.String text,
Vertex meaning,
Network network)
Create the name with the meaning.
|
Vertex |
AbstractNetwork.createNewObject(java.lang.String name)
Create the word, and a new meaning.
|
Vertex |
Bootstrap.createNoun(java.lang.String text,
Vertex meaning,
Network network)
Create the noun with the meaning.
|
Vertex |
AbstractNetwork.createObject(java.lang.String name)
Create the word, and its meaning.
|
Vertex |
Bootstrap.createOrdinal(java.lang.String text,
Vertex meaning,
Network network)
Create the word with the meaning.
|
Vertex |
AbstractNetwork.createParagraph(java.lang.String text)
Tokenize the paragraph into its sentences and create a vertex representation.
|
Vertex |
AbstractNetwork.createParagraph(Vertex sentence)
Convert the sentence to a paragraph if it has multiple phrases.
|
Vertex |
AbstractNetwork.createPattern(java.lang.String text)
Tokenize the sentence pattern into its words and wildcrads, and create a vertex representation.
|
Vertex |
AbstractNetwork.createPattern(java.lang.String text,
SelfCompiler compiler)
Tokenize the sentence pattern into its words and wildcrads, and create a vertex representation.
|
Vertex |
AbstractNetwork.createPrimitive(java.lang.String name)
Create the primitive and associate the word to it.
|
Vertex |
Bootstrap.createPronoun(java.lang.String text,
Vertex meaning,
Network network,
Primitive type)
Create the pronoun with the meaning.
|
Vertex |
Bootstrap.createPronoun(java.lang.String text,
Vertex meaning,
Network network,
Primitive type,
Primitive type2)
Create the pronoun with the meaning.
|
Vertex |
Bootstrap.createPunctuation(java.lang.String text,
Vertex meaning,
Network network)
Create the punctuation with the meaning.
|
Vertex |
Bootstrap.createQuestion(java.lang.String text,
Primitive primitive,
Network network)
Create the question word and meaning.
|
Vertex |
AbstractNetwork.createSentence(java.lang.String text)
Tokenize the sentence into its words and create a vertex representation.
|
Vertex |
AbstractNetwork.createSentence(java.lang.String text,
boolean generated)
Tokenize the sentence into its words and create a vertex representation.
|
Vertex |
AbstractNetwork.createSentence(java.lang.String text,
boolean generated,
boolean reduction)
Tokenize the sentence into its words and create a vertex representation.
|
Vertex |
AbstractNetwork.createSentence(java.lang.String text,
boolean generated,
boolean reduction,
boolean whitespace)
Tokenize the sentence into its words and create a vertex representation.
|
Vertex |
AbstractNetwork.createSpeaker(java.lang.String name)
Find or create the speaker with the name.
|
Vertex |
AbstractNetwork.createTemplate(java.lang.String code)
Compile the template response.
|
Vertex |
AbstractNetwork.createTemporyVertex()
Create a temporary, non-persistent vertex.
|
Vertex |
AbstractNetwork.createTimestamp()
Create a timestamp based on the current nanos.
|
Vertex |
Bootstrap.createTypo(java.lang.String text,
Vertex meaning,
Network network)
Associate a typo, or misspelling.
|
Vertex |
AbstractNetwork.createUniqueSpeaker(Primitive id,
Primitive type,
java.lang.String name)
Find or create the speaker from the unique id.
|
Vertex |
Bootstrap.createVerb(java.lang.String text,
Vertex meaning,
Primitive tense,
Network network,
java.lang.String[] conjugations)
Create the verb with the meaning.
|
Vertex |
AbstractNetwork.createVertex()
Create a new vertex in this network,
assign the id and creation date.
|
Vertex |
AbstractNetwork.createVertex(java.lang.Object data)
Create a new vertex in this network with the data,
If a vertex with the data already exists, then it is returned as the data must be unique.
|
Vertex |
BasicNetwork.createVertex(Vertex source)
Create a new vertex from the source.
|
Vertex |
AbstractNetwork.createVertex(Vertex source)
Create a new vertex from the source.
|
Vertex |
AbstractNetwork.createWord(java.lang.String text)
Tokenize the text into its words and create a vertex representation of the word or compound word.
|
Vertex |
Bootstrap.createWord(java.lang.String text,
Vertex meaning,
boolean prime,
Network network)
Create the word with the meaning.
|
Vertex |
Bootstrap.createWord(java.lang.String text,
Vertex meaning,
boolean prime,
Network network,
Primitive classification,
Primitive tense,
Primitive type,
Primitive type2,
java.lang.String[] conjugations)
Create the word with the meaning.
|
Vertex |
Bootstrap.createWord(java.lang.String text,
Vertex meaning,
Network network)
Create the word with the meaning.
|
Vertex |
Bootstrap.createWord(java.lang.String text,
Vertex meaning,
Network network,
Primitive classification)
Create the word with the meaning.
|
Vertex |
BasicVertex.detach()
Create a copy of the vertex with only the id.
|
Vertex |
BasicMemory.find(Vertex source,
Vertex id)
Self API
Lookup an object by id.
|
Vertex |
BasicNetwork.findByData(java.lang.Object data)
Return the vertex with the given data.
|
Vertex |
BasicNetwork.findById(java.lang.Number id)
Return the vertex with the given name.
|
Vertex |
BasicNetwork.findByName(java.lang.String name)
Return the vertex with the given name.
|
Vertex |
BasicMemory.findInstances(Vertex source,
Vertex type)
Self API
Search all instances of the class type.
|
Vertex |
BasicMemory.findInstances(Vertex source,
Vertex type,
Vertex date)
Self API
Search all instances of the class type, created after the date.
|
Vertex |
BasicMemory.findReferences(Vertex source,
Vertex target)
Self API
Search what references the object.
|
Vertex |
BasicMemory.findReferencesBy(Vertex source,
Vertex target,
Vertex type)
Self API
Search what references the object by the relationship.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
java.util.Collection<Relationship> associates2,
Vertex associateType2,
java.util.Collection<Relationship> associates3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
java.util.Collection<Relationship> associates3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
Vertex associate3,
Vertex associateType3)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
Vertex associate3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicRelationship.getMeta() |
Vertex |
BasicVertex.getRelationship(Primitive type)
Return any relationship target of the primitive type.
|
Vertex |
BasicVertex.getRelationship(Vertex type)
Return any relationship target of the type.
|
Vertex |
BasicRelationship.getSource() |
Vertex |
BasicRelationship.getTarget() |
Vertex |
BasicRelationship.getType() |
Vertex |
Bootstrap.getVariable(Vertex source,
Network network) |
Vertex |
AbstractNetwork.importVertex(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Find the vertex matching the source, or create a new one.
|
Vertex |
BasicVertex.lastRelationship(Primitive type)
Return the fromLast last of the ordered relationship, or null.
|
Vertex |
BasicVertex.lastRelationship(Primitive type,
int fromLast)
Return the last of the ordered relationship, or null.
|
Vertex |
BasicVertex.lastRelationship(Vertex type)
Return the last of the ordered relationship, or null.
|
Vertex |
BasicVertex.lastRelationship(Vertex type,
int fromLast)
Return the fromLast last of the ordered relationship, or null.
|
Vertex |
BasicVertex.mostConscious(Primitive type)
Return the target vertex related by the type with the high consciousness level.
|
Vertex |
BasicVertex.mostConscious(Primitive type,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.mostConscious(Vertex type)
Return the target vertex related by the type with the high consciousness level.
|
Vertex |
BasicVertex.mostConscious(Vertex type,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.mostConscious(Vertex type,
float min,
boolean inverse)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.mostConscious(Vertex type,
Vertex classification)
Return the target vertex related by the type, with the high consciousness level.
|
Vertex |
BasicVertex.mostConsciousTargetOfType(Vertex classification)
Return the most conscious target the vertex has any relationship to that is an instantiation of the classification.
|
Vertex |
BasicVertex.mostConsciousWithAssoiate(Vertex type,
Vertex associate,
Vertex associateType)
Return the target vertex related by the type, that is also most correctly related to the associate vertex by the relationship.
|
Vertex |
BasicVertex.mostConsciousWithAssoiates(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2)
Return the target vertex related by the type, that is also most correctly related to the associate vertex by the relationship.
|
Vertex |
BasicVertex.nextMostConscious(Primitive type,
java.util.Set<Vertex> ignoring)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.nextMostConscious(Primitive type,
Vertex ignoring,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.nextMostConscious(Primitive type,
Vertex ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Vertex |
BasicVertex.nextMostConscious(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Vertex |
BasicVertex.nextMostConscious(Vertex type,
Vertex ignoring,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.nextMostConscious(Vertex type,
Vertex ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Vertex> |
BasicNetwork.findAll()
Return all vertices.
|
java.util.List<Vertex> |
BasicNetwork.findAll(int pageSize,
int page)
Return all vertices.
|
java.util.List<Vertex> |
BasicNetwork.findAllInstances(Vertex type,
Vertex relationship,
java.util.Calendar start)
Find all relationships related to the vertex or of the vertex type.
|
java.util.List<Vertex> |
BasicNetwork.findAllLike(java.lang.String filter)
Return all vertices matching the filter.
|
java.util.List<Vertex> |
BasicNetwork.findAllLike(java.lang.String filter,
int pageSize,
int page)
Return all vertices matching the filter.
|
java.util.List<Vertex> |
BasicNetwork.findAllQuery(java.lang.String query)
Return all vertices matching the query.
|
java.util.List<Vertex> |
BasicNetwork.findAllQuery(java.lang.String query,
int max)
Return all vertices matching the query.
|
java.util.List<Vertex> |
BasicNetwork.findAllQuery(java.lang.String query,
java.util.Map parameters,
int pageSize,
int page)
Return all vertices matching the query.
|
java.util.List<Vertex> |
BasicMemory.getActiveMemory()
Active memory represents the last sensory state.
|
java.util.Map<Vertex,Vertex> |
AbstractVertexIterator.getBreadthSet() |
java.util.Map<Vertex,Vertex> |
AbstractVertexIterator.getBreadthSet() |
java.util.Map<Vertex,java.util.Map<Relationship,Relationship>> |
BasicVertex.getRelationships()
Return all relationships.
|
java.util.Map<Vertex,Vertex> |
AbstractVertexIterator.getTraversed() |
java.util.Map<Vertex,Vertex> |
AbstractVertexIterator.getTraversed() |
java.util.Set<Vertex> |
BasicNetwork.getVertices() |
java.util.Map<java.lang.Object,Vertex> |
AbstractNetwork.getVerticesByData() |
java.util.Map<java.lang.Number,Vertex> |
BasicNetwork.getVerticesById() |
java.util.List<Vertex> |
BasicVertex.orderedRelations(Primitive primitive)
Return all of the relationships targets of the primitive type, sorted by index.
|
java.util.List<Vertex> |
BasicVertex.orderedRelations(Vertex relationshipType)
Return all of the relationship targets of the type, sorted by index.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
BasicMemory.addActiveMemory(Vertex vertex)
Add the sensory data to the active memory.
|
void |
AbstractVertexIterator.addBreadth(Vertex vertex)
Add the vertex to the breadth set for traversal.
|
Relationship |
BasicVertex.addRelationship(Primitive type,
Vertex target)
Add the relation of the relationship primitive type to the target vertex.
|
Relationship |
BasicVertex.addRelationship(Primitive type,
Vertex target,
int index)
Add the relation of the relationship type to the target vertex.
|
Relationship |
BasicVertex.addRelationship(Vertex type,
Vertex target)
Add the relation of the relationship type to the target vertex.
|
Relationship |
BasicVertex.addRelationship(Vertex type,
Vertex target,
int index)
Add the relation of the relationship type to the target vertex.
|
Relationship |
BasicVertex.addRelationship(Vertex type,
Vertex target,
int index,
boolean internal)
Add the relation of the relationship type to the target vertex.
|
void |
BasicNetwork.addVertex(Vertex vertex)
Add the existing vertex to the network.
|
abstract void |
AbstractNetwork.addVertex(Vertex vertex) |
Relationship |
BasicVertex.addWeakRelationship(Primitive type,
Vertex target,
float correctnessMultiplier)
Add the relation of the relationship type to the target vertex.
|
Relationship |
BasicVertex.addWeakRelationship(Vertex type,
Vertex target,
float correctnessMultiplier)
Add the relation of the relationship type to the target vertex.
|
Relationship |
BasicVertex.appendRelationship(Primitive type,
Vertex target)
Add the relation of the relationship type to the end of the target vertex relationships.
|
Relationship |
BasicVertex.appendRelationship(Vertex type,
Vertex target)
Add the relation of the relationship type to the end of the target vertex relationships.
|
Vertex |
BasicVertex.applyASSOCIATE(Vertex operator,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the ASSOCIATE or DISSOCIATE operation.
|
void |
BasicVertex.associateAll(Primitive associate,
Vertex target,
Primitive type)
Associate each of the relationship target vertices with the target vertex by the type.
|
void |
BasicVertex.associateAll(Vertex associate,
Vertex target,
Vertex type)
Associate each of the relationship target vertices with the target vertex by the type.
|
void |
AbstractNetwork.associateCaseInsensitivity(java.lang.String word,
Vertex meaning)
Associate alternative cases of the word with the meaning.
|
void |
AbstractNetwork.associateCaseInsensitivity(Vertex word)
Associate alternative cases of the word with the meaning, types, conjugations.
|
static void |
Bootstrap.checkInputVariable(Vertex input,
Network network) |
void |
AbstractNetwork.checkReduction(Vertex sentence)
Check if the sentence has been reduced, if not, then reduce.
|
Vertex |
BasicVertex.checkRelationRelationshipForAllWords(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Vertex left,
Vertex right,
Vertex relation,
java.util.Collection<Relationship> words)
Check if any of the words have the relationship.
|
Vertex |
BasicVertex.checkRelationTargetForAllWords(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Vertex left,
Vertex right,
Vertex relation,
java.util.Collection<Relationship> words)
Check if any of the words have the relationship.
|
boolean |
BasicVertex.collectMatches(Vertex vertex,
java.util.Map<Vertex,java.util.Set<Vertex>> variables)
Compare if the two vertices match.
|
int |
BasicVertex.compare(Vertex vertex)
Compare if the two vertices match.
|
Vertex |
Bootstrap.createAdjective(java.lang.String text,
Vertex meaning,
Network network)
Create the adjective with the meaning.
|
Vertex |
Bootstrap.createArticle(java.lang.String text,
Vertex meaning,
Network network)
Create the article with the meaning.
|
Vertex |
AbstractNetwork.createInstance(Vertex type)
Create a new instance of the type.
|
Vertex |
Bootstrap.createName(java.lang.String text,
Vertex meaning,
Network network)
Create the name with the meaning.
|
Vertex |
Bootstrap.createNoun(java.lang.String text,
Vertex meaning,
Network network)
Create the noun with the meaning.
|
Vertex |
Bootstrap.createOrdinal(java.lang.String text,
Vertex meaning,
Network network)
Create the word with the meaning.
|
Vertex |
AbstractNetwork.createParagraph(Vertex sentence)
Convert the sentence to a paragraph if it has multiple phrases.
|
Vertex |
Bootstrap.createPronoun(java.lang.String text,
Vertex meaning,
Network network,
Primitive type)
Create the pronoun with the meaning.
|
Vertex |
Bootstrap.createPronoun(java.lang.String text,
Vertex meaning,
Network network,
Primitive type,
Primitive type2)
Create the pronoun with the meaning.
|
Vertex |
Bootstrap.createPunctuation(java.lang.String text,
Vertex meaning,
Network network)
Create the punctuation with the meaning.
|
Vertex |
Bootstrap.createTypo(java.lang.String text,
Vertex meaning,
Network network)
Associate a typo, or misspelling.
|
Vertex |
Bootstrap.createVerb(java.lang.String text,
Vertex meaning,
Primitive tense,
Network network,
java.lang.String[] conjugations)
Create the verb with the meaning.
|
Vertex |
BasicNetwork.createVertex(Vertex source)
Create a new vertex from the source.
|
Vertex |
AbstractNetwork.createVertex(Vertex source)
Create a new vertex from the source.
|
Vertex |
Bootstrap.createWord(java.lang.String text,
Vertex meaning,
boolean prime,
Network network)
Create the word with the meaning.
|
Vertex |
Bootstrap.createWord(java.lang.String text,
Vertex meaning,
boolean prime,
Network network,
Primitive classification,
Primitive tense,
Primitive type,
Primitive type2,
java.lang.String[] conjugations)
Create the word with the meaning.
|
Vertex |
Bootstrap.createWord(java.lang.String text,
Vertex meaning,
Network network)
Create the word with the meaning.
|
Vertex |
Bootstrap.createWord(java.lang.String text,
Vertex meaning,
Network network,
Primitive classification)
Create the word with the meaning.
|
boolean |
BasicVertex.equalsIgnoreCase(Vertex vertex)
Compare the vertices ignoring case.
|
Vertex |
BasicMemory.find(Vertex source,
Vertex id)
Self API
Lookup an object by id.
|
java.util.List<Vertex> |
BasicNetwork.findAllInstances(Vertex type,
Vertex relationship,
java.util.Calendar start)
Find all relationships related to the vertex or of the vertex type.
|
java.util.List<Relationship> |
BasicNetwork.findAllRelationshipsTo(Vertex vertex)
Find all relationships related to the vertex or of the vertex relationship type.
|
java.util.List<Relationship> |
BasicNetwork.findAllRelationshipsTo(Vertex vertex,
Vertex type)
Find all relationships related to the vertex by the vertex type.
|
java.util.List<Relationship> |
BasicNetwork.findAllRelationshipsTo(Vertex vertex,
Vertex type,
java.util.Date date)
Find all relationships related to the vertex by the vertex type.
|
Vertex |
BasicMemory.findInstances(Vertex source,
Vertex type)
Self API
Search all instances of the class type.
|
Vertex |
BasicMemory.findInstances(Vertex source,
Vertex type,
Vertex date)
Self API
Search all instances of the class type, created after the date.
|
Vertex |
BasicMemory.findReferences(Vertex source,
Vertex target)
Self API
Search what references the object.
|
Vertex |
BasicMemory.findReferencesBy(Vertex source,
Vertex target,
Vertex type)
Self API
Search what references the object by the relationship.
|
void |
BasicVertex.fixRelationships(Vertex type)
Fix the corrupted relationship index order.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
java.util.Collection<Relationship> associates2,
Vertex associateType2,
java.util.Collection<Relationship> associates3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
java.util.Collection<Relationship> associates3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
Vertex associate3,
Vertex associateType3)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Vertex |
BasicVertex.getAssoiate(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2,
Vertex associate3,
Vertex associateType3,
Vertex defaultAssociate)
Return the target vertex related by the type, that has the relationship to the previous, otherwise null if not found.
|
Relationship |
BasicVertex.getRelationship(Primitive type,
Vertex target)
Return the relationship of the type primitive to the target.
|
Vertex |
BasicVertex.getRelationship(Vertex type)
Return any relationship target of the type.
|
Relationship |
BasicVertex.getRelationship(Vertex type,
Vertex target)
Return the relationship of the type primitive to the target.
|
java.util.Collection<Relationship> |
BasicVertex.getRelationships(Vertex relationshipType)
Return all of the relationships of the type.
|
Vertex |
Bootstrap.getVariable(Vertex source,
Network network) |
boolean |
BasicVertex.hasAnyAssociatedInverseRelationship(Primitive associate,
Vertex target,
Primitive type)
Return if any of the associates of the vertex have an inverse/negative relationship of the type to the target.
|
boolean |
BasicVertex.hasAnyAssociatedInverseRelationship(Vertex associate,
Vertex target,
Vertex type)
Return if any of the associates of the vertex have an inverse/negative relationship of the type to the target.
|
boolean |
BasicVertex.hasAnyRelationshipToTarget(Vertex target)
Return if the vertex has any relationship to any target.
|
boolean |
BasicVertex.hasAnyRelationshipToTargetOfType(Vertex classification)
Return if the vertex has any relationship to any target that is an instantiation of the classification.
|
boolean |
BasicVertex.hasInverseRelationship(Primitive type,
Vertex target)
Return if the vertex has an inverse relationship of the type to the target.
|
boolean |
BasicVertex.hasInverseRelationship(Vertex type,
Vertex target)
Return if the vertex has an inverse relationship of the type to the target.
|
boolean |
BasicVertex.hasOrInheritsInverseRelationship(Vertex type,
Vertex target)
Return if the vertex has a relationship of the type to the target.
|
boolean |
BasicVertex.hasOrInheritsInverseRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has a relationship of the type to the target.
|
boolean |
BasicVertex.hasOrInheritsRelationship(Vertex type,
Vertex target)
Return if the vertex has a relationship of the type to the target.
|
boolean |
BasicVertex.hasOrInheritsRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has a relationship of the type to the target.
|
boolean |
BasicVertex.hasRelationship(Primitive type,
Vertex target)
Return if the vertex has a relationship of the type primitive to the target.
|
boolean |
BasicVertex.hasRelationship(Vertex type)
Return if the vertex has any (non-inverse) relationship of the type.
|
boolean |
BasicVertex.hasRelationship(Vertex type,
Vertex target)
Return if the vertex has a relationship of the type to the target.
|
void |
AbstractNetwork.importMerge(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Merge the vertex into this network from an import.
|
Vertex |
AbstractNetwork.importVertex(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Find the vertex matching the source, or create a new one.
|
boolean |
BasicVertex.instanceOf(Vertex type)
Return if the vertex is an instantiation of the type.
|
boolean |
BasicVertex.internalHasRelationship(Vertex type,
Vertex target)
Return if the vertex has a relationship of the type to the target.
|
void |
BasicVertex.internalRemoveRelationship(Vertex type,
Vertex target)
Remove the relationship.
|
void |
BasicVertex.internalRemoveRelationships(Vertex type)
Remove the relationships of the type.
|
void |
BasicVertex.inverseAssociateAll(Primitive associate,
Vertex target,
Primitive type)
Dissociate the source with each of the relationship targets by the type.
|
void |
BasicVertex.inverseAssociateAll(Vertex associate,
Vertex target,
Vertex type)
Dissociate the source with each of the relationship targets by the type.
|
Vertex |
BasicVertex.lastRelationship(Vertex type)
Return the last of the ordered relationship, or null.
|
Vertex |
BasicVertex.lastRelationship(Vertex type,
int fromLast)
Return the fromLast last of the ordered relationship, or null.
|
java.lang.Boolean |
BasicVertex.matches(Vertex vertex,
java.util.Map<Vertex,Vertex> variables)
Compare if the two vertices match.
|
void |
AbstractNetwork.merge(Vertex sourceVertex)
Merge the vertex into this network.
|
Vertex |
BasicVertex.mostConscious(Vertex type)
Return the target vertex related by the type with the high consciousness level.
|
Vertex |
BasicVertex.mostConscious(Vertex type,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.mostConscious(Vertex type,
float min,
boolean inverse)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.mostConscious(Vertex type,
Vertex classification)
Return the target vertex related by the type, with the high consciousness level.
|
Relationship |
BasicVertex.mostConsciousRelationship(Vertex type)
Return the relationship related by the type, with the high consciousness level.
|
Vertex |
BasicVertex.mostConsciousTargetOfType(Vertex classification)
Return the most conscious target the vertex has any relationship to that is an instantiation of the classification.
|
Vertex |
BasicVertex.mostConsciousWithAssoiate(Vertex type,
Vertex associate,
Vertex associateType)
Return the target vertex related by the type, that is also most correctly related to the associate vertex by the relationship.
|
Vertex |
BasicVertex.mostConsciousWithAssoiates(Vertex type,
Vertex associate,
Vertex associateType,
Vertex associate2,
Vertex associateType2)
Return the target vertex related by the type, that is also most correctly related to the associate vertex by the relationship.
|
Vertex |
BasicVertex.nextMostConscious(Primitive type,
Vertex ignoring,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.nextMostConscious(Primitive type,
Vertex ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Vertex |
BasicVertex.nextMostConscious(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Vertex |
BasicVertex.nextMostConscious(Vertex type,
Vertex ignoring,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.nextMostConscious(Vertex type,
Vertex ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Relationship |
BasicVertex.nextMostConsciousRelationship(Primitive type,
Vertex ignoring)
Return the relationship related by the type, with the high consciousness level.
|
Relationship |
BasicVertex.nextMostConsciousRelationship(Primitive type,
Vertex ignoring,
float min)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Relationship |
BasicVertex.nextMostConsciousRelationship(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Relationship |
BasicVertex.nextMostConsciousRelationship(Vertex type,
Vertex ignoring)
Return the relationship related by the type, with the high consciousness level.
|
Relationship |
BasicVertex.nextMostConsciousRelationship(Vertex type,
Vertex ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
java.util.List<Vertex> |
BasicVertex.orderedRelations(Vertex relationshipType)
Return all of the relationship targets of the type, sorted by index.
|
java.util.List<Relationship> |
BasicVertex.orderedRelationships(Vertex relationshipType)
Return all of the relationships of the type, sorted by index.
|
java.util.List<Relationship> |
BasicVertex.orderedRelationshipsByConsciousness(Vertex relationshipType)
Return all of the relationships of the type, sorted by consciousness level.
|
void |
AbstractNetwork.parseFragment(Vertex fragment,
java.lang.String text,
boolean generated,
boolean whitespace)
Tokenize the fragment into its words and create a vertex representation.
|
Relationship |
BasicVertex.removeRelationship(Primitive type,
Vertex target)
Remove the relationship of the relation primitive type to the target vertex.
|
Relationship |
BasicVertex.removeRelationship(Vertex type,
Vertex target)
Remove the relationship of the relation type to the target vertex.
|
void |
BasicNetwork.removeVertex(Vertex vertex)
Remove the vertex from the network.
|
void |
BasicNetwork.removeVertexAndReferences(Vertex vertex)
Remove the vertex and all references to it from the network.
|
void |
BasicVertex.replaceRelationship(Relationship oldRelationship,
Vertex newTarget)
Replace the relationship with the new target at the same index.
|
void |
BasicRelationship.setMeta(Vertex meta) |
void |
BasicVertex.setOriginal(Vertex original)
Set the original long term vertex the short term vertex was derived from.
|
void |
BasicVertex.setRelationship(Primitive type,
Vertex newValue)
Set the relationship, removing the old value.
|
void |
BasicVertex.setRelationship(Vertex type,
Vertex newValue)
Set the relationship, removing the old value.
|
void |
BasicRelationship.setSource(Vertex source) |
void |
BasicRelationship.setTarget(Vertex target) |
void |
BasicRelationship.setType(Vertex type) |
void |
BasicVertex.weakAssociateAll(Primitive associate,
Vertex target,
Primitive type,
float correctnessMultiplier)
Associate each of the relationship target vertices with the target vertex by the type.
|
void |
BasicVertex.weakAssociateAll(Vertex associate,
Vertex target,
Vertex type,
float correctnessMultiplier)
Associate each of the relationship target vertices with the target vertex by the type.
|
static void |
BasicVertex.writeHeader(Vertex vertex,
java.io.PrintWriter writer) |
Modifier and Type | Method and Description |
---|---|
Vertex |
BasicVertex.applyALL(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the ALL operation.
|
Vertex |
BasicVertex.applyALL(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the ALL operation.
|
Vertex |
BasicVertex.applyAPPEND(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Append the relationship in order.
|
Vertex |
BasicVertex.applyAPPEND(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Append the relationship in order.
|
Vertex |
BasicVertex.applyASSOCIATE(Vertex operator,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the ASSOCIATE or DISSOCIATE operation.
|
Vertex |
BasicVertex.applyASSOCIATE(Vertex operator,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the ASSOCIATE or DISSOCIATE operation.
|
Vertex |
BasicVertex.applyCALL(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the call operation.
|
Vertex |
BasicVertex.applyCALL(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the call operation.
|
Vertex |
BasicVertex.applyCONDITION(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the OR/AND condition.
|
Vertex |
BasicVertex.applyCONDITION(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the OR/AND condition.
|
Vertex |
BasicVertex.applyCOUNT(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the COUNT operation.
|
Vertex |
BasicVertex.applyCOUNT(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the COUNT operation.
|
Vertex |
BasicVertex.applyDEBUG(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the DEBUG operation.
|
Vertex |
BasicVertex.applyDEBUG(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the DEBUG operation.
|
Vertex |
BasicVertex.applyEQUAL(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the LESS operation.
|
Vertex |
BasicVertex.applyEQUAL(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the LESS operation.
|
Vertex |
BasicVertex.applyEval(java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluates any eval functions in the equation or formula..
|
Vertex |
BasicVertex.applyEval(java.util.Map<Vertex,Vertex> variables,
Network network)
Evaluates any eval functions in the equation or formula..
|
Vertex |
BasicVertex.applyFOR(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the FOR operation.
|
Vertex |
BasicVertex.applyFOR(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the FOR operation.
|
Vertex |
BasicVertex.applyFRAGMENT(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Primitive format)
Apply the FRAGMENT operation.
|
Vertex |
BasicVertex.applyFRAGMENT(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Primitive format)
Apply the FRAGMENT operation.
|
Vertex |
BasicVertex.applyGET(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the GET operation.
|
Vertex |
BasicVertex.applyGET(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the GET operation.
|
Vertex |
BasicVertex.applyGREATER(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the GREATER operation.
|
Vertex |
BasicVertex.applyGREATER(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the GREATER operation.
|
Vertex |
BasicVertex.applyIF(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the IF operation.
|
Vertex |
BasicVertex.applyIF(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the IF operation.
|
Vertex |
BasicVertex.applyINPUT(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the INPUT operation.
|
Vertex |
BasicVertex.applyINPUT(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the INPUT operation.
|
Vertex |
BasicVertex.applyLEARN(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the LEARN operation.
|
Vertex |
BasicVertex.applyLEARN(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the LEARN operation.
|
Vertex |
BasicVertex.applyLESS(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the LESS operation.
|
Vertex |
BasicVertex.applyLESS(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the LESS operation.
|
Vertex |
BasicVertex.applyNEW(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the NEW operation.
|
Vertex |
BasicVertex.applyNEW(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the NEW operation.
|
Vertex |
BasicVertex.applyQuotient(java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the quotient.
|
Vertex |
BasicVertex.applyQuotient(java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the quotient.
|
Vertex |
BasicVertex.applyRANDOM(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the RANDOM operation.
|
Vertex |
BasicVertex.applyRANDOM(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the RANDOM operation.
|
Vertex |
BasicVertex.applyRELATED(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the related operation.
|
Vertex |
BasicVertex.applyRELATED(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the related operation.
|
Vertex |
BasicVertex.applyRELATION(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the relation operation.
|
Vertex |
BasicVertex.applyRELATION(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the relation operation.
|
Vertex |
BasicVertex.applySENTENCE(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SENTENCE operation.
|
Vertex |
BasicVertex.applySENTENCE(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SENTENCE operation.
|
Vertex |
BasicVertex.applySET(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SET operation.
|
Vertex |
BasicVertex.applySET(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SET operation.
|
Vertex |
BasicVertex.applySRAI(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SRAI operation.
|
Vertex |
BasicVertex.applySRAI(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SRAI operation.
|
Vertex |
BasicVertex.applySRAIX(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SRAIX operation.
|
Vertex |
BasicVertex.applySRAIX(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the SRAIX operation.
|
Vertex |
BasicVertex.applyWHILE(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the WHILE operation.
|
Vertex |
BasicVertex.applyWHILE(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the WHILE operation.
|
Vertex |
BasicVertex.applyWORD(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the WORD operation.
|
Vertex |
BasicVertex.applyWORD(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network)
Apply the WORD operation.
|
Vertex |
BasicVertex.checkRelationRelationshipForAllWords(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Vertex left,
Vertex right,
Vertex relation,
java.util.Collection<Relationship> words)
Check if any of the words have the relationship.
|
Vertex |
BasicVertex.checkRelationRelationshipForAllWords(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Vertex left,
Vertex right,
Vertex relation,
java.util.Collection<Relationship> words)
Check if any of the words have the relationship.
|
Vertex |
BasicVertex.checkRelationTargetForAllWords(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Vertex left,
Vertex right,
Vertex relation,
java.util.Collection<Relationship> words)
Check if any of the words have the relationship.
|
Vertex |
BasicVertex.checkRelationTargetForAllWords(java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
Vertex left,
Vertex right,
Vertex relation,
java.util.Collection<Relationship> words)
Check if any of the words have the relationship.
|
boolean |
BasicVertex.collectMatches(Vertex vertex,
java.util.Map<Vertex,java.util.Set<Vertex>> variables)
Compare if the two vertices match.
|
boolean |
BasicVertex.collectMatches(Vertex vertex,
java.util.Map<Vertex,java.util.Set<Vertex>> variables)
Compare if the two vertices match.
|
boolean |
BasicVertex.hasOrInheritsInverseRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has a relationship of the type to the target.
|
boolean |
BasicVertex.hasOrInheritsInverseRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has a relationship of the type to the target.
|
boolean |
BasicVertex.hasOrInheritsRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has a relationship of the type to the target.
|
boolean |
BasicVertex.hasOrInheritsRelationship(Vertex type,
Vertex target,
java.util.Map<Vertex,Vertex> recursion)
Return if the vertex has a relationship of the type to the target.
|
void |
AbstractNetwork.importMerge(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Merge the vertex into this network from an import.
|
void |
AbstractNetwork.importMerge(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Merge the vertex into this network from an import.
|
Vertex |
AbstractNetwork.importVertex(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Find the vertex matching the source, or create a new one.
|
Vertex |
AbstractNetwork.importVertex(Vertex source,
java.util.Map<Vertex,Vertex> identitySet)
Find the vertex matching the source, or create a new one.
|
java.lang.Boolean |
BasicVertex.matches(Vertex vertex,
java.util.Map<Vertex,Vertex> variables)
Compare if the two vertices match.
|
java.lang.Boolean |
BasicVertex.matches(Vertex vertex,
java.util.Map<Vertex,Vertex> variables)
Compare if the two vertices match.
|
Vertex |
BasicVertex.nextMostConscious(Primitive type,
java.util.Set<Vertex> ignoring)
Return the target vertex related by the type, with the high consciousness level greater than the value.
|
Vertex |
BasicVertex.nextMostConscious(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
Relationship |
BasicVertex.nextMostConsciousRelationship(Vertex type,
java.util.Set<Vertex> ignoring,
float min,
boolean inverse)
Return the target vertex inversely/negatively related by the type, with the high consciousness level.
|
void |
BasicMemory.setActiveMemory(java.util.List<Vertex> activeMemory) |
void |
AbstractVertexIterator.setBreadthSet(java.util.Map<Vertex,Vertex> breadthSet) |
void |
AbstractVertexIterator.setBreadthSet(java.util.Map<Vertex,Vertex> breadthSet) |
void |
BasicVertex.setRelationships(java.util.Map<Vertex,java.util.Map<Relationship,Relationship>> relationships) |
void |
AbstractVertexIterator.setTraversed(java.util.Map<Vertex,Vertex> traversed) |
void |
AbstractVertexIterator.setTraversed(java.util.Map<Vertex,Vertex> traversed) |
void |
BasicNetwork.setVerticesById(java.util.Map<java.lang.Number,Vertex> verticesById) |
Constructor and Description |
---|
BasicRelationship(Vertex source,
Vertex type,
Vertex target) |
BasicVertex(Vertex original)
Create the vertex as a clone of the original.
|
Modifier and Type | Method and Description |
---|---|
Vertex |
DatabaseReadOnlyNetwork.createVertex(java.lang.Object data)
Find the exiting vertex, or create a temporary one for primitives.
|
Vertex |
DatabaseReadOnlyNetwork.findByData(java.lang.Object data)
Return the vertex with the given data.
|
Vertex |
DatabaseNetwork.findByData(java.lang.Object data)
Return the vertex with the given data.
|
Vertex |
DatabaseReadOnlyNetwork.findById(java.lang.Number id)
Return the vertex with the given name.
|
Vertex |
DatabaseNetwork.findById(java.lang.Number id)
Return the vertex with the given name.
|
Vertex |
DatabaseNetwork.findByName(java.lang.String name)
Return the vertex with the given data.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Vertex> |
DatabaseNetwork.allActive()
Return all active vertices.
|
java.util.List<Vertex> |
DatabaseNetwork.findAll()
Return all vertices.
|
java.util.List<Vertex> |
DatabaseNetwork.findAll(int pageSize,
int page)
Return all vertices.
|
java.util.List<Vertex> |
DatabaseNetwork.findAllInstances(Vertex type,
Vertex relationship,
java.util.Calendar start)
Find all relationships related to the vertex or of the vertex type.
|
java.util.List<Vertex> |
DatabaseNetwork.findAllLike(java.lang.String filter)
Return all vertices matching the filter.
|
java.util.List<Vertex> |
DatabaseNetwork.findAllLike(java.lang.String filter,
int pageSize,
int page)
Return all vertices matching the filter.
|
java.util.List<Vertex> |
DatabaseNetwork.findAllQuery(java.lang.String jpql)
Return all vertices matching the JPQL query.
|
java.util.List<Vertex> |
DatabaseNetwork.findAllQuery(java.lang.String jpql,
int max)
Return all vertices matching the JPQL query.
|
java.util.List<Vertex> |
DatabaseNetwork.findAllQuery(java.lang.String jpql,
java.util.Map parameters,
int pageSize,
int page)
Return all vertices matching the JPQL query.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseReadOnlyNetwork.addVertex(Vertex vertex)
Add the existing vertex to the network.
|
void |
DatabaseNetwork.addVertex(Vertex vertex)
Add the existing vertex to the network.
|
java.util.List<Vertex> |
DatabaseNetwork.findAllInstances(Vertex type,
Vertex relationship,
java.util.Calendar start)
Find all relationships related to the vertex or of the vertex type.
|
java.util.List<Relationship> |
DatabaseNetwork.findAllRelationshipsTo(Vertex vertex)
Find all relationships related to the vertex or of the vertex relationship type.
|
java.util.List<Relationship> |
DatabaseNetwork.findAllRelationshipsTo(Vertex vertex,
Vertex type)
Find all relationships related to the vertex by the vertex type.
|
java.util.List<Relationship> |
DatabaseNetwork.findAllRelationshipsTo(Vertex vertex,
Vertex type,
java.util.Date date)
Find all relationships related to the vertex by the vertex type, created after the date.
|
void |
DatabaseReadOnlyNetwork.removeVertex(Vertex vertex)
Remove the vertex from the network.
|
void |
DatabaseNetwork.removeVertex(Vertex vertex)
Remove the vertex from the network.
|
void |
DatabaseReadOnlyNetwork.removeVertexAndReferences(Vertex vertex)
Remove the vertex and all references to it from the network.
|
void |
DatabaseNetwork.removeVertexAndReferences(Vertex vertex)
Remove the vertex and all references to it from the network.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Vertex> |
MicroMemory.restoreVertex(java.io.File file,
java.io.DataInputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
void |
MicroMemory.saveVertex(Vertex vertex,
java.io.DataOutputStream stream) |
Modifier and Type | Method and Description |
---|---|
Vertex |
SelfInterpreter.add(Vertex source,
Vertex value)
Array or Set add operation.
|
Vertex |
SelfInterpreter.add(Vertex source,
Vertex type,
Vertex target)
Add the relationship from the source of the type, to the target object.
|
Vertex |
SelfInterpreter.addWithMeta(Vertex source,
Vertex relationship,
Vertex value,
Vertex metaType,
Vertex metaValue) |
Vertex |
SelfInterpreter.all(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.append(Vertex source,
Vertex relationship,
Vertex value) |
Vertex |
SelfInterpreter.appendWithMeta(Vertex source,
Vertex relationship,
Vertex value,
Vertex metaType,
Vertex metaValue) |
Vertex |
SelfInterpreter.charAt(Vertex source,
Vertex index) |
Vertex |
SelfInterpreter.checkRelationRelationshipForAllWords(java.util.Collection<Relationship> words,
Vertex source,
Vertex target,
Network network)
Check if any of the words have the relationship.
|
Vertex |
SelfInterpreter.checkRelationTargetForAllWords(java.util.Collection<Relationship> words,
Vertex source,
Vertex type,
Vertex target,
Network network)
Check if any of the words have the relationship.
|
Vertex |
SelfInterpreter.concat(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.copy(Vertex source) |
Vertex |
SelfDecompiler.createUniqueFormula(Vertex formula,
Network network)
Print the formula to create a unique instance of it.
|
Vertex |
SelfDecompiler.createUniqueTemplate(Vertex formula,
Network network)
Print the formula to create a unique instance of it.
|
Vertex |
SelfInterpreter.dataType(Vertex source) |
Vertex |
SelfDecompiler.decompileEquation(Vertex equation,
Network network)
Check if the equation is bytecode and decompile.
|
Vertex |
SelfDecompiler.decompileExpression(Vertex equation,
Network network)
Check if the expression is bytecode and decompile.
|
Vertex |
Self4Decompiler.decompileExpression(Vertex expression,
Network network)
Check if the expression is bytecode and decompile.
|
Vertex |
SelfDecompiler.decompileFunction(Vertex equation,
Network network)
Check if the function is bytecode and decompile.
|
Vertex |
Self4Decompiler.decompileFunction(Vertex function,
Network network)
Check if the function is bytecode and decompile.
|
Vertex |
SelfDecompiler.decompileState(Vertex state,
Network network)
Check if the state is bytecode and decompile.
|
Vertex |
Self4Decompiler.decompileState(Vertex state,
Network network)
Check if the state is bytecode and decompile.
|
Vertex |
SelfInterpreter.delete(Vertex source) |
Vertex |
SelfInterpreter.delete(Vertex source,
Vertex target)
Array or Set delete operation.
|
Vertex |
SelfInterpreter.delete(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.deleteAll(Vertex source) |
Vertex |
SelfInterpreter.deleteAll(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.endsWith(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.evaluateADD(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the ADD operation.
|
Vertex |
SelfInterpreter.evaluateAND(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluateCALL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the function invocation.
|
Vertex |
SelfInterpreter.evaluateDEBUG(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DEBUG operation.
|
Vertex |
SelfInterpreter.evaluateDIVIDE(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DIVIDE operation.
|
Vertex |
SelfInterpreter.evaluateDO(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DO operation.
|
Vertex |
SelfInterpreter.evaluateEQUALS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the EQUALS operation.
|
Vertex |
SelfCompiler.evaluateEquation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean pin,
boolean debug,
Network network)
Parse and evaluate the code.
|
Vertex |
SelfInterpreter.evaluateEVAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluates any eval functions in the equation or formula..
|
Vertex |
SelfInterpreter.evaluateEVALCOPY(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the literal object into a copy.
|
Vertex |
SelfCompiler.evaluateExpression(java.lang.String code,
Vertex speaker,
Vertex target,
boolean pin,
boolean debug,
Network network)
Parse and evaluate the code.
|
Vertex |
Self4Compiler.evaluateExpression(java.lang.String code,
Vertex speaker,
Vertex target,
boolean pin,
boolean debug,
Network network)
Parse and evaluate the code.
|
Vertex |
SelfInterpreter.evaluateExpression(Vertex expression,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the expression and return the result.
|
Vertex |
SelfInterpreter.evaluateFOR(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the FOR operation.
|
Vertex |
SelfInterpreter.evaluateFunction(Vertex function,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the function and return the result.
|
Vertex |
SelfInterpreter.evaluateGET(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GET operation.
|
Vertex |
SelfInterpreter.evaluateGREATERTHAN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GREATERTHAN operation.
|
Vertex |
SelfInterpreter.evaluateGREATERTHANEQUAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GREATERTHANEQUAL operation.
|
Vertex |
SelfInterpreter.evaluateIF(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the IF operation.
|
Vertex |
SelfInterpreter.evaluateINSTANCEOF(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluateLEARN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LEARN operation.
|
Vertex |
SelfInterpreter.evaluateLESSTHAN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LESSTHAN operation.
|
Vertex |
SelfInterpreter.evaluateLESSTHANEQUAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LESSTHANEQUAL operation.
|
Vertex |
SelfInterpreter.evaluateMINUS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the MINUS operation.
|
Vertex |
SelfInterpreter.evaluateMULTIPLY(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the MULTIPLY operation.
|
Vertex |
SelfInterpreter.evaluateNEW(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the NEW operation.
|
Vertex |
SelfInterpreter.evaluateNOT(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the NOT operation.
|
Vertex |
SelfInterpreter.evaluateNOTEQUALS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the NOTEQUALS operation.
|
Vertex |
SelfInterpreter.evaluateOR(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluatePLUS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the PLUS operation.
|
Vertex |
SelfInterpreter.evaluateRANDOM(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the RANDOM operation.
|
Vertex |
SelfInterpreter.evaluateREDIRECT(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the REDIRECT or SRAI operation.
|
Vertex |
SelfInterpreter.evaluateREMOVE(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the REMOVE operation.
|
Vertex |
SelfInterpreter.evaluateSET(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the SET operation.
|
Vertex |
SelfInterpreter.evaluateSRAI(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the SRAI operation.
|
Vertex |
SelfInterpreter.evaluateSRAIX(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the SRAIX operation.
|
Vertex |
SelfInterpreter.evaluateSYMBOL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the SYMBOL operation.
|
Vertex |
SelfInterpreter.evaluateTHINK(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the THINK operation.
|
Vertex |
SelfInterpreter.evaluateWHILE(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the WHILE operation.
|
Vertex |
SelfInterpreter.findReference(Vertex source)
Search what references the object.
|
Vertex |
SelfInterpreter.findReferenceBy(Vertex source,
Vertex type)
Search what references the object by the relationship.
|
Vertex |
SelfInterpreter.findReferences(Vertex source,
Vertex type)
Search what references the object.
|
Vertex |
SelfInterpreter.findReferencesBy(Vertex source,
Vertex type)
Search what references the object by the relationship.
|
Vertex |
SelfInterpreter.get(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.get(Vertex source,
Vertex type,
Vertex index) |
Vertex |
SelfInterpreter.getAccessCount(Vertex source) |
Vertex |
SelfInterpreter.getAccessDate(Vertex source) |
Vertex |
SelfInterpreter.getAccessDate(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getConsciousnessLevel(Vertex source) |
Vertex |
SelfInterpreter.getConsciousnessLevel(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getCorrectness(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getCreationDate(Vertex source) |
Vertex |
SelfInterpreter.getCreationDate(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getGroupId(Vertex source) |
Vertex |
SelfInterpreter.getId(Vertex source) |
Vertex |
SelfInterpreter.getId(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getIndex(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getLast(Vertex source,
Vertex relationship) |
Vertex |
SelfInterpreter.getLast(Vertex source,
Vertex relationship,
Vertex index) |
Vertex |
SelfInterpreter.getName(Vertex source) |
Vertex |
SelfInterpreter.getWithAssociate(Vertex source,
Vertex type,
Vertex associate,
Vertex associateType) |
Vertex |
SelfInterpreter.has(Vertex source,
Vertex target)
Array or Set has operation.
|
Vertex |
SelfInterpreter.has(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.hasAny(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.hasData(Vertex source) |
Vertex |
SelfInterpreter.hashCode(Vertex source) |
Vertex |
SelfInterpreter.hasMeta(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.hasOrInherits(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.hasOtherMeaning(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.includes(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.indexOf(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.indexOf(Vertex source,
Vertex argument,
Vertex start) |
Vertex |
SelfInterpreter.isArray(Vertex source) |
Vertex |
SelfInterpreter.isPinned(Vertex source) |
Vertex |
SelfInterpreter.isPinned(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.isPrimitive(Vertex source) |
Vertex |
SelfInterpreter.keys(Vertex source) |
Vertex |
SelfInterpreter.lastIndexOf(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.length(Vertex source)
Determine the length, by elements for an array, or text/printstring size.
|
Vertex |
SelfInterpreter.meta(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfCompiler.parseCase(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the IF condition.
|
Vertex |
Self4Compiler.parseCase(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the CASE condition.
|
Vertex |
SelfDecompiler.parseCaseByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the CASE bytecode.
|
Vertex |
Self4Decompiler.parseCaseByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the CASE bytecode.
|
Vertex |
SelfDecompiler.parseDoByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the DO bytecode.
|
Vertex |
Self4Decompiler.parseDoByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the DO bytecode.
|
Vertex |
SelfCompiler.parseElement(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the reference to either a state, variable, equation, or raw data.
|
Vertex |
Self4Compiler.parseElement(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the reference to either a state, variable, expression, or data.
|
Vertex |
Self4Compiler.parseElement(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
Primitive lastBinary,
boolean debug,
Network network)
Parse the reference to either a state, variable, expression, or data.
|
Vertex |
Self4ByteCodeCompiler.parseElement(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
Primitive binary,
boolean debug,
Network network)
Override to catch expressions in templates, patterns, and other places.
|
Vertex |
Self4ByteCodeCompiler.parseElementByteCode(TextStream stream,
java.io.DataOutputStream dataStream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the reference to either a state, variable, expression, or data.
|
Vertex |
Self4ByteCodeCompiler.parseElementByteCode(TextStream stream,
java.io.DataOutputStream dataStream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
Primitive lastBinary,
boolean debug,
Network network)
Parse the reference to either a state, variable, expression, or data.
|
Vertex |
Self4Compiler.parseElementName(Primitive type,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the element name (state, function, variable)
|
Vertex |
SelfCompiler.parseEquation(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the equation.
|
Vertex |
SelfByteCodeCompiler.parseEquation(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the equation.
|
Vertex |
SelfDecompiler.parseEquationByteCode(Vertex equation,
BinaryData data,
Network network)
Parse the equation from bytecode.
|
Vertex |
Self4Decompiler.parseEquationByteCode(Vertex equation,
BinaryData data,
Network network)
Parse the Self2 equation from bytecode.
|
Vertex |
SelfCompiler.parseEquationForEvaluation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean debug,
Network network)
Parse the code into a temporary equation so it can be evaluated.
|
Vertex |
SelfByteCodeCompiler.parseEquationForEvaluation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean debug,
Network network)
Parse the code into a temporary equation so it can be evaluated.
|
Vertex |
SelfDecompiler.parseExpressionByteCode(Vertex equation,
BinaryData data,
Network network)
Parse the expression from bytecode.
|
Vertex |
Self4Decompiler.parseExpressionByteCode(Vertex expression,
BinaryData data,
Network network)
Parse the expression from bytecode.
|
Vertex |
Self4Compiler.parseExpressionForEvaluation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean debug,
Network network)
Parse the code into a temporary expression so it can be evaluated.
|
Vertex |
Self4ByteCodeCompiler.parseExpressionForEvaluation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean debug,
Network network)
Parse the code into a temporary expression so it can be evaluated.
|
Vertex |
SelfCompiler.parseFormula(Vertex formula,
TextStream stream,
boolean debug,
Network network)
Parse the formula.
|
Vertex |
SelfCompiler.parseFormula(Vertex formula,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the formula.
|
Vertex |
Self4Compiler.parseFunction(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the function.
|
Vertex |
Self4ByteCodeCompiler.parseFunctionByteCode(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the function.
|
Vertex |
SelfDecompiler.parseFunctionByteCode(Vertex equation,
BinaryData data,
Network network)
Parse the function from bytecode.
|
Vertex |
Self4Decompiler.parseFunctionByteCode(Vertex function,
BinaryData data,
Network network)
Parse the function from bytecode.
|
Vertex |
SelfCompiler.parseGoto(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the GOTO condition.
|
Vertex |
Self4Compiler.parseGoto(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the GOTO condition.
|
Vertex |
SelfDecompiler.parseGotoByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the GOTO bytecode.
|
Vertex |
Self4Decompiler.parseGotoByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the GOTO bytecode.
|
Vertex |
SelfCompiler.parseOperator(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the operator.
|
Vertex |
Self4Compiler.parseOperator(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the operator.
|
Vertex |
SelfDecompiler.parseOperatorByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the operator and its arguments from bytecode.
|
Vertex |
Self4Decompiler.parseOperatorByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the operator and its arguments from bytecode.
|
Vertex |
Self4Decompiler.parseOperatorByteCode(java.io.DataInputStream dataStream,
Vertex pop,
Network network)
Parse the operator and its arguments from bytecode.
|
Vertex |
SelfCompiler.parsePattern(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the PATTERN condition.
|
Vertex |
Self4Compiler.parsePattern(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the PATTERN condition.
|
Vertex |
SelfCompiler.parsePush(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the PUSH condition.
|
Vertex |
Self4Compiler.parsePush(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the PUSH condition.
|
Vertex |
SelfDecompiler.parsePushByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the PUSH bytecode.
|
Vertex |
Self4Decompiler.parsePushByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the PUSH bytecode.
|
Vertex |
SelfCompiler.parseReturn(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the RETURN condition.
|
Vertex |
Self4Compiler.parseReturn(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the RETURN condition.
|
Vertex |
SelfDecompiler.parseReturnByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the RETURN bytecode.
|
Vertex |
Self4Decompiler.parseReturnByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the RETURN bytecode.
|
Vertex |
SelfCompiler.parseState(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the state and any referenced states or variables.
|
Vertex |
SelfByteCodeCompiler.parseState(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the state and any referenced states or variables.
|
Vertex |
Self4Compiler.parseState(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the state and any referenced states or variables.
|
Vertex |
Self4ByteCodeCompiler.parseState(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the state and any referenced states or variables.
|
Vertex |
SelfDecompiler.parseStateByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the state and its cases from bytecode.
|
Vertex |
Self4Decompiler.parseStateByteCode(java.io.DataInputStream dataStream,
Network network)
Parse the state and its cases from bytecode.
|
Vertex |
SelfDecompiler.parseStateByteCode(Vertex state,
BinaryData data,
Network network)
Parse the state from bytecode.
|
Vertex |
Self4Decompiler.parseStateByteCode(Vertex state,
BinaryData data,
Network network)
Parse the state from bytecode.
|
Vertex |
SelfCompiler.parseStateMachine(java.io.File file,
java.lang.String encoding,
boolean debug,
Network network)
Get the contents of the URL to a .self file and parse it.
|
Vertex |
SelfCompiler.parseStateMachine(java.io.InputStream stream,
boolean debug,
Network network,
java.lang.String encoding,
int maxSize)
Get the contents of the stream to a .self file and parse it.
|
Vertex |
SelfCompiler.parseStateMachine(java.lang.String code,
boolean debug,
Network network)
Parse the code into a vertex state machine defined in the network.
|
Vertex |
Self4Compiler.parseStateMachine(java.lang.String code,
boolean debug,
Network network)
Parse the code into a vertex state machine defined in the network.
|
Vertex |
Self4ByteCodeCompiler.parseStateMachine(java.lang.String code,
boolean debug,
Network network)
Parse the code into a vertex state machine defined in the network.
|
Vertex |
SelfCompiler.parseStateMachine(java.net.URL url,
java.lang.String encoding,
boolean debug,
Network network)
Get the contents of the URL to a .self file and parse it.
|
Vertex |
SelfCompiler.parseTemplate(Vertex formula,
TextStream stream,
boolean debug,
Network network)
Parse the formula.
|
Vertex |
Self4Compiler.parseTemplate(Vertex formula,
TextStream stream,
boolean debug,
Network network)
Parse the template.
|
Vertex |
SelfCompiler.parseTemplate(Vertex formula,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the formula.
|
Vertex |
Self4Compiler.parseTemplate(Vertex formula,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the template.
|
Vertex |
Self4ByteCodeCompiler.parseTemplate(Vertex formula,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the template.
|
Vertex |
SelfCompiler.parseVariable(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the variable.
|
Vertex |
Self4Compiler.parseVariable(TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the variable.
|
Vertex |
SelfInterpreter.pin(Vertex source) |
Vertex |
SelfInterpreter.pin(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.random(Vertex source) |
Vertex |
SelfInterpreter.random(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.remove(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.remove(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.removeWithMeta(Vertex source,
Vertex relationship,
Vertex value,
Vertex metaType,
Vertex metaValue) |
Vertex |
SelfInterpreter.replace(Vertex source,
Vertex token,
Vertex replacement) |
Vertex |
SelfInterpreter.set(Vertex source,
Vertex type,
Vertex target)
Set the relationship from the source of the type, to the target object.
|
Vertex |
SelfInterpreter.set(Vertex source,
Vertex type,
Vertex target,
Vertex index) |
Vertex |
SelfInterpreter.setCharAt(Vertex source,
Vertex index,
Vertex character) |
Vertex |
SelfInterpreter.size(Vertex source)
Determine the size, by elements for an array, words for sentence, otherwise total relationships.
|
Vertex |
SelfInterpreter.size(Vertex source,
Vertex type)
Determine the size of the relationship type.
|
Vertex |
SelfInterpreter.startsWith(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.substr(Vertex source,
Vertex start,
Vertex end) |
Vertex |
SelfInterpreter.substring(Vertex source,
Vertex start,
Vertex end) |
Vertex |
SelfInterpreter.toLowerCase(Vertex text) |
Vertex |
SelfInterpreter.toNumber(Vertex text) |
Vertex |
SelfInterpreter.toString(Vertex vertex) |
Vertex |
SelfInterpreter.toSymbol(Vertex vertex) |
Vertex |
SelfInterpreter.toUpperCase(Vertex text) |
Vertex |
SelfInterpreter.trim(Vertex text) |
Vertex |
SelfInterpreter.unpin(Vertex source) |
Vertex |
SelfInterpreter.unpin(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.weakAdd(Vertex source,
Vertex type,
Vertex target)
Add a weak relationship from the source of the type, to the target object.
|
Vertex |
SelfInterpreter.weakAddWithMeta(Vertex source,
Vertex relationship,
Vertex value,
Vertex metaType,
Vertex metaValue) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> |
SelfCompiler.buildElementsMap(Network network) |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> |
Self4Compiler.buildElementsMap(Network network) |
Modifier and Type | Method and Description |
---|---|
Vertex |
SelfInterpreter.add(Vertex source,
Vertex value)
Array or Set add operation.
|
Vertex |
SelfInterpreter.add(Vertex source,
Vertex type,
Vertex target)
Add the relationship from the source of the type, to the target object.
|
static void |
SelfCompiler.addGlobalVariables(Vertex input,
Vertex sentence,
Network network,
java.util.Map<Vertex,Vertex> variables) |
Vertex |
SelfInterpreter.addWithMeta(Vertex source,
Vertex relationship,
Vertex value,
Vertex metaType,
Vertex metaValue) |
Vertex |
SelfInterpreter.all(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.append(Vertex source,
Vertex relationship,
Vertex value) |
Vertex |
SelfInterpreter.appendWithMeta(Vertex source,
Vertex relationship,
Vertex value,
Vertex metaType,
Vertex metaValue) |
Vertex |
SelfInterpreter.charAt(Vertex source,
Vertex index) |
boolean |
SelfInterpreter.checkArguments(Vertex expression,
java.util.List<Relationship> arguments,
int expected,
Network network) |
boolean |
SelfInterpreter.checkMinArguments(Vertex expression,
java.util.List<Relationship> arguments,
int expected,
Network network) |
Vertex |
SelfInterpreter.checkRelationRelationshipForAllWords(java.util.Collection<Relationship> words,
Vertex source,
Vertex target,
Network network)
Check if any of the words have the relationship.
|
Vertex |
SelfInterpreter.checkRelationTargetForAllWords(java.util.Collection<Relationship> words,
Vertex source,
Vertex type,
Vertex target,
Network network)
Check if any of the words have the relationship.
|
Vertex |
SelfInterpreter.concat(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.copy(Vertex source) |
Vertex |
SelfDecompiler.createUniqueFormula(Vertex formula,
Network network)
Print the formula to create a unique instance of it.
|
Vertex |
SelfDecompiler.createUniqueTemplate(Vertex formula,
Network network)
Print the formula to create a unique instance of it.
|
Vertex |
SelfInterpreter.dataType(Vertex source) |
Vertex |
SelfDecompiler.decompileEquation(Vertex equation,
Network network)
Check if the equation is bytecode and decompile.
|
Vertex |
SelfDecompiler.decompileExpression(Vertex equation,
Network network)
Check if the expression is bytecode and decompile.
|
Vertex |
Self4Decompiler.decompileExpression(Vertex expression,
Network network)
Check if the expression is bytecode and decompile.
|
Vertex |
SelfDecompiler.decompileFunction(Vertex equation,
Network network)
Check if the function is bytecode and decompile.
|
Vertex |
Self4Decompiler.decompileFunction(Vertex function,
Network network)
Check if the function is bytecode and decompile.
|
Vertex |
SelfDecompiler.decompileState(Vertex state,
Network network)
Check if the state is bytecode and decompile.
|
Vertex |
Self4Decompiler.decompileState(Vertex state,
Network network)
Check if the state is bytecode and decompile.
|
java.lang.String |
SelfDecompiler.decompileStateMachine(Vertex state,
Network network)
Print the Self code for the state machine.
|
Vertex |
SelfInterpreter.delete(Vertex source) |
Vertex |
SelfInterpreter.delete(Vertex source,
Vertex target)
Array or Set delete operation.
|
Vertex |
SelfInterpreter.delete(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.deleteAll(Vertex source) |
Vertex |
SelfInterpreter.deleteAll(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.endsWith(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.evaluateADD(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the ADD operation.
|
Vertex |
SelfInterpreter.evaluateAND(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluateCALL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the function invocation.
|
Vertex |
SelfInterpreter.evaluateDEBUG(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DEBUG operation.
|
Vertex |
SelfInterpreter.evaluateDIVIDE(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DIVIDE operation.
|
Vertex |
SelfInterpreter.evaluateDO(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DO operation.
|
Vertex |
SelfInterpreter.evaluateEQUALS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the EQUALS operation.
|
Vertex |
SelfCompiler.evaluateEquation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean pin,
boolean debug,
Network network)
Parse and evaluate the code.
|
Vertex |
SelfInterpreter.evaluateEVAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluates any eval functions in the equation or formula..
|
Vertex |
SelfInterpreter.evaluateEVALCOPY(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the literal object into a copy.
|
Vertex |
SelfCompiler.evaluateExpression(java.lang.String code,
Vertex speaker,
Vertex target,
boolean pin,
boolean debug,
Network network)
Parse and evaluate the code.
|
Vertex |
Self4Compiler.evaluateExpression(java.lang.String code,
Vertex speaker,
Vertex target,
boolean pin,
boolean debug,
Network network)
Parse and evaluate the code.
|
Vertex |
SelfInterpreter.evaluateExpression(Vertex expression,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the expression and return the result.
|
Vertex |
SelfInterpreter.evaluateFOR(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the FOR operation.
|
Vertex |
SelfInterpreter.evaluateFunction(Vertex function,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the function and return the result.
|
Vertex |
SelfInterpreter.evaluateGET(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GET operation.
|
Vertex |
SelfInterpreter.evaluateGREATERTHAN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GREATERTHAN operation.
|
Vertex |
SelfInterpreter.evaluateGREATERTHANEQUAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GREATERTHANEQUAL operation.
|
Vertex |
SelfInterpreter.evaluateIF(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the IF operation.
|
Vertex |
SelfInterpreter.evaluateINSTANCEOF(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluateLEARN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LEARN operation.
|
Vertex |
SelfInterpreter.evaluateLESSTHAN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LESSTHAN operation.
|
Vertex |
SelfInterpreter.evaluateLESSTHANEQUAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LESSTHANEQUAL operation.
|
Vertex |
SelfInterpreter.evaluateMINUS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the MINUS operation.
|
Vertex |
SelfInterpreter.evaluateMULTIPLY(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the MULTIPLY operation.
|
Vertex |
SelfInterpreter.evaluateNEW(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the NEW operation.
|
Vertex |
SelfInterpreter.evaluateNOT(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the NOT operation.
|
Vertex |
SelfInterpreter.evaluateNOTEQUALS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the NOTEQUALS operation.
|
Vertex |
SelfInterpreter.evaluateOR(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluatePLUS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the PLUS operation.
|
Vertex |
SelfInterpreter.evaluateRANDOM(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the RANDOM operation.
|
Vertex |
SelfInterpreter.evaluateREDIRECT(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the REDIRECT or SRAI operation.
|
Vertex |
SelfInterpreter.evaluateREMOVE(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the REMOVE operation.
|
Vertex |
SelfInterpreter.evaluateSET(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the SET operation.
|
Vertex |
SelfInterpreter.evaluateSRAI(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the SRAI operation.
|
Vertex |
SelfInterpreter.evaluateSRAIX(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the SRAIX operation.
|
Vertex |
SelfInterpreter.evaluateSYMBOL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the SYMBOL operation.
|
Vertex |
SelfInterpreter.evaluateTHINK(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the THINK operation.
|
Vertex |
SelfInterpreter.evaluateWHILE(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the WHILE operation.
|
void |
SelfCompiler.fastLoad(Vertex state) |
void |
SelfCompiler.fastLoadChildren(Vertex state) |
void |
SelfCompiler.fastUnpin(Vertex state) |
Vertex |
SelfInterpreter.findReference(Vertex source)
Search what references the object.
|
Vertex |
SelfInterpreter.findReferenceBy(Vertex source,
Vertex type)
Search what references the object by the relationship.
|
Vertex |
SelfInterpreter.findReferences(Vertex source,
Vertex type)
Search what references the object.
|
Vertex |
SelfInterpreter.findReferencesBy(Vertex source,
Vertex type)
Search what references the object by the relationship.
|
Vertex |
SelfInterpreter.get(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.get(Vertex source,
Vertex type,
Vertex index) |
Vertex |
SelfInterpreter.getAccessCount(Vertex source) |
Vertex |
SelfInterpreter.getAccessDate(Vertex source) |
Vertex |
SelfInterpreter.getAccessDate(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getConsciousnessLevel(Vertex source) |
Vertex |
SelfInterpreter.getConsciousnessLevel(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getCorrectness(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getCreationDate(Vertex source) |
Vertex |
SelfInterpreter.getCreationDate(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getGroupId(Vertex source) |
Vertex |
SelfInterpreter.getId(Vertex source) |
Vertex |
SelfInterpreter.getId(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getIndex(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.getLast(Vertex source,
Vertex relationship) |
Vertex |
SelfInterpreter.getLast(Vertex source,
Vertex relationship,
Vertex index) |
Vertex |
SelfInterpreter.getName(Vertex source) |
Vertex |
SelfInterpreter.getWithAssociate(Vertex source,
Vertex type,
Vertex associate,
Vertex associateType) |
Vertex |
SelfInterpreter.has(Vertex source,
Vertex target)
Array or Set has operation.
|
Vertex |
SelfInterpreter.has(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.hasAny(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.hasData(Vertex source) |
Vertex |
SelfInterpreter.hashCode(Vertex source) |
Vertex |
SelfInterpreter.hasMeta(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.hasOrInherits(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.hasOtherMeaning(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.includes(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.indexOf(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.indexOf(Vertex source,
Vertex argument,
Vertex start) |
Vertex |
SelfInterpreter.isArray(Vertex source) |
Vertex |
SelfInterpreter.isPinned(Vertex source) |
Vertex |
SelfInterpreter.isPinned(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.isPrimitive(Vertex source) |
Vertex |
SelfInterpreter.keys(Vertex source) |
Vertex |
SelfInterpreter.lastIndexOf(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.length(Vertex source)
Determine the length, by elements for an array, or text/printstring size.
|
Vertex |
SelfInterpreter.meta(Vertex source,
Vertex type,
Vertex target) |
void |
Self4Compiler.parseAnswer(Vertex state,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the quotient.
|
void |
Self4Decompiler.parseArgumentByteCode(java.lang.Object[] result,
java.io.DataInputStream dataStream,
Vertex pop,
Network network)
Parse the operation argument.
|
void |
SelfDecompiler.parseArgumentsByteCode(Vertex equation,
java.io.DataInputStream dataStream,
Vertex type,
Network network)
Parse the operation arguments.
|
void |
Self4Decompiler.parseArgumentsByteCode(Vertex expression,
java.io.DataInputStream dataStream,
Vertex type,
Network network)
Parse the operation arguments.
|
void |
Self4Decompiler.parseArgumentsByteCode(Vertex expression,
java.io.DataInputStream dataStream,
Vertex type,
Vertex pop,
Network network)
Parse the operation arguments.
|
Vertex |
SelfDecompiler.parseEquationByteCode(Vertex equation,
BinaryData data,
Network network)
Parse the equation from bytecode.
|
Vertex |
Self4Decompiler.parseEquationByteCode(Vertex equation,
BinaryData data,
Network network)
Parse the Self2 equation from bytecode.
|
Vertex |
SelfCompiler.parseEquationForEvaluation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean debug,
Network network)
Parse the code into a temporary equation so it can be evaluated.
|
Vertex |
SelfByteCodeCompiler.parseEquationForEvaluation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean debug,
Network network)
Parse the code into a temporary equation so it can be evaluated.
|
Vertex |
SelfDecompiler.parseExpressionByteCode(Vertex equation,
BinaryData data,
Network network)
Parse the expression from bytecode.
|
Vertex |
Self4Decompiler.parseExpressionByteCode(Vertex expression,
BinaryData data,
Network network)
Parse the expression from bytecode.
|
Vertex |
Self4Compiler.parseExpressionForEvaluation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean debug,
Network network)
Parse the code into a temporary expression so it can be evaluated.
|
Vertex |
Self4ByteCodeCompiler.parseExpressionForEvaluation(java.lang.String code,
Vertex speaker,
Vertex target,
boolean debug,
Network network)
Parse the code into a temporary expression so it can be evaluated.
|
Vertex |
SelfCompiler.parseFormula(Vertex formula,
TextStream stream,
boolean debug,
Network network)
Parse the formula.
|
Vertex |
SelfCompiler.parseFormula(Vertex formula,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the formula.
|
Vertex |
SelfDecompiler.parseFunctionByteCode(Vertex equation,
BinaryData data,
Network network)
Parse the function from bytecode.
|
Vertex |
Self4Decompiler.parseFunctionByteCode(Vertex function,
BinaryData data,
Network network)
Parse the function from bytecode.
|
Vertex |
Self4Decompiler.parseOperatorByteCode(java.io.DataInputStream dataStream,
Vertex pop,
Network network)
Parse the operator and its arguments from bytecode.
|
void |
SelfCompiler.parseQuotient(Vertex state,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the quotient.
|
void |
SelfDecompiler.parseQuotientByteCode(Vertex state,
java.io.DataInputStream dataStream,
Network network)
Parse the GOTO bytecode.
|
void |
Self4Decompiler.parseQuotientByteCode(Vertex state,
java.io.DataInputStream dataStream,
Network network)
Parse the GOTO bytecode.
|
Vertex |
SelfDecompiler.parseStateByteCode(Vertex state,
BinaryData data,
Network network)
Parse the state from bytecode.
|
Vertex |
Self4Decompiler.parseStateByteCode(Vertex state,
BinaryData data,
Network network)
Parse the state from bytecode.
|
Vertex |
SelfCompiler.parseTemplate(Vertex formula,
TextStream stream,
boolean debug,
Network network)
Parse the formula.
|
Vertex |
Self4Compiler.parseTemplate(Vertex formula,
TextStream stream,
boolean debug,
Network network)
Parse the template.
|
Vertex |
SelfCompiler.parseTemplate(Vertex formula,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the formula.
|
Vertex |
Self4Compiler.parseTemplate(Vertex formula,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the template.
|
Vertex |
Self4ByteCodeCompiler.parseTemplate(Vertex formula,
TextStream stream,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,Vertex>> elements,
boolean debug,
Network network)
Parse the template.
|
Vertex |
SelfInterpreter.pin(Vertex source) |
void |
SelfCompiler.pin(Vertex element) |
void |
SelfCompiler.pin(Vertex element,
java.util.List<Primitive> relations,
long groupId,
java.util.Set<Vertex> processed) |
Vertex |
SelfInterpreter.pin(Vertex source,
Vertex type,
Vertex target) |
void |
Self4Decompiler.printArguments(Vertex expression,
Primitive type,
int start,
java.lang.String[] tokens,
boolean reverse,
boolean newLine,
boolean unravel,
boolean brackets,
java.io.Writer writer,
java.lang.String indent,
java.util.List<Vertex> variables,
java.util.List<Vertex> functions,
java.util.Set<Vertex> elements,
boolean space,
Network network)
Print the operation arguments.
|
void |
SelfDecompiler.printArguments(Vertex equation,
Primitive type,
java.lang.String[] tokens,
boolean reverse,
boolean newLine,
boolean unravel,
java.io.Writer writer,
java.lang.String indent,
java.util.List<Vertex> variables,
java.util.List<Vertex> equations,
java.util.Set<Vertex> elements,
boolean space,
Network network)
Print the operation arguments.
|
void |
SelfDecompiler.printCase(Vertex equation,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
java.util.List<Vertex> newVariables,
java.util.List<Vertex> newEquations,
java.util.List<Vertex> newStates,
Network network)
Print the IF condition and any variables and states that it references.
|
void |
Self4Decompiler.printCase(Vertex expression,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
java.util.List<Vertex> newVariables,
java.util.List<Vertex> newFunctions,
java.util.List<Vertex> newStates,
Network network)
Print the IF condition and any variables and states that it references.
|
boolean |
SelfDecompiler.printComments(Vertex element,
java.io.Writer writer,
java.lang.String indent,
boolean newLine,
Network network)
Print comments
|
void |
SelfDecompiler.printData(Vertex vertex,
java.io.Writer writer)
Print the vertex data.
|
void |
Self4Decompiler.printData(Vertex vertex,
java.io.Writer writer)
Print the vertex, either a state, variable, expression, or data.
|
void |
Self4Decompiler.printDo(Vertex expression,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
java.util.List<Vertex> newVariables,
java.util.List<Vertex> newFunctions,
java.util.List<Vertex> newStates,
Network network)
Print the DO operation.
|
void |
SelfDecompiler.printElement(Vertex vertex,
java.io.Writer writer,
java.lang.String indent,
java.util.List<Vertex> equations,
java.util.List<Vertex> variables,
java.util.Set<Vertex> elements,
Network network)
Print the vertex, either a state, variable, equation, or raw data.
|
void |
Self4Decompiler.printElement(Vertex vertex,
java.io.Writer writer,
java.lang.String indent,
java.util.List<Vertex> functions,
java.util.List<Vertex> variables,
java.util.Set<Vertex> elements,
Network network)
Print the vertex, either a state, variable, expression, or data.
|
void |
SelfDecompiler.printEquation(Vertex equation,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
Network network)
Print the equation and any equations it references that have not been printed.
|
void |
SelfDecompiler.printFormula(Vertex formula,
java.io.Writer writer,
java.lang.String indent,
java.util.List<Vertex> equations,
java.util.List<Vertex> variables,
java.util.Set<Vertex> elements,
Network network) |
void |
Self4Decompiler.printFunction(Vertex function,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
Network network)
Print the function and any functions it references that have not been printed.
|
void |
Self4Decompiler.printGoto(Vertex expression,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
java.util.List<Vertex> newVariables,
java.util.List<Vertex> newFunctions,
java.util.List<Vertex> newStates,
Network network)
Print the GOTO condition and any variables and states that it references.
|
void |
SelfDecompiler.printGoto(Vertex equation,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
Network network,
long start,
long timeout)
Print the GOTO condition and any variables and states that it references.
|
void |
SelfDecompiler.printOperator(Vertex equation,
java.io.Writer writer,
java.lang.String indent,
java.util.List<Vertex> equations,
java.util.List<Vertex> variables,
java.util.Set<Vertex> elements,
Network network)
Print the equation and any equations it references that have not been printed.
|
void |
Self4Decompiler.printOperator(Vertex expression,
java.io.Writer writer,
java.lang.String indent,
java.util.List<Vertex> functions,
java.util.List<Vertex> variables,
java.util.Set<Vertex> elements,
Network network)
Print the expression and any expressions it references that have not been printed.
|
void |
Self4Decompiler.printPush(Vertex expression,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
java.util.List<Vertex> newVariables,
java.util.List<Vertex> newFunctions,
java.util.List<Vertex> newStates,
Network network)
Print the PUSH condition and any variables and states that it references.
|
void |
SelfDecompiler.printPush(Vertex equation,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
Network network,
long start,
long timeout)
Print the PUSH condition and any variables and states that it references.
|
void |
Self4Decompiler.printReturn(Vertex expression,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
java.util.List<Vertex> newVariables,
java.util.List<Vertex> newFunctions,
java.util.List<Vertex> newStates,
Network network)
Print the RETURN condition and any variables it references.
|
void |
SelfDecompiler.printReturn(Vertex equation,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
Network network,
long start,
long timeout)
Print the RETURN condition and any variables it references.
|
void |
SelfDecompiler.printState(Vertex state,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
Network network,
long start,
long timeout)
Print the state and any referenced states or variables that have not yet been printed.
|
void |
Self4Decompiler.printState(Vertex state,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
Network network,
long start,
long timeout)
Print the state and any referenced states or variables that have not yet been printed.
|
void |
SelfDecompiler.printStateMachine(Vertex state,
java.io.Writer writer,
Network network,
long start,
long timeout)
Print the Self code for the state machine.
|
void |
Self4Decompiler.printStateMachine(Vertex state,
java.io.Writer writer,
Network network,
long start,
long timeout)
Print the Self code for the state machine.
|
void |
SelfDecompiler.printTemplate(Vertex formula,
java.io.Writer writer,
java.lang.String indent,
java.util.List<Vertex> expressions,
java.util.List<Vertex> variables,
java.util.Set<Vertex> elements,
Network network) |
void |
Self4Decompiler.printTemplate(Vertex formula,
java.io.Writer writer,
java.lang.String indent,
java.util.List<Vertex> expressions,
java.util.List<Vertex> variables,
java.util.Set<Vertex> elements,
Network network) |
void |
SelfDecompiler.printVariable(Vertex variable,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
Network network)
Print the variable and any variables it references that have not been printed.
|
void |
Self4Decompiler.printVariable(Vertex variable,
java.io.Writer writer,
java.lang.String indent,
java.util.Set<Vertex> elements,
Network network)
Print the variable and any variables it references that have not been printed.
|
Vertex |
SelfInterpreter.random(Vertex source) |
Vertex |
SelfInterpreter.random(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.remove(Vertex source,
Vertex type) |
Vertex |
SelfInterpreter.remove(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.removeWithMeta(Vertex source,
Vertex relationship,
Vertex value,
Vertex metaType,
Vertex metaValue) |
Vertex |
SelfInterpreter.replace(Vertex source,
Vertex token,
Vertex replacement) |
Vertex |
SelfInterpreter.set(Vertex source,
Vertex type,
Vertex target)
Set the relationship from the source of the type, to the target object.
|
Vertex |
SelfInterpreter.set(Vertex source,
Vertex type,
Vertex target,
Vertex index) |
Vertex |
SelfInterpreter.setCharAt(Vertex source,
Vertex index,
Vertex character) |
Vertex |
SelfInterpreter.size(Vertex source)
Determine the size, by elements for an array, words for sentence, otherwise total relationships.
|
Vertex |
SelfInterpreter.size(Vertex source,
Vertex type)
Determine the size of the relationship type.
|
Vertex |
SelfInterpreter.startsWith(Vertex source,
Vertex argument) |
Vertex |
SelfInterpreter.substr(Vertex source,
Vertex start,
Vertex end) |
Vertex |
SelfInterpreter.substring(Vertex source,
Vertex start,
Vertex end) |
Vertex |
SelfInterpreter.toLowerCase(Vertex text) |
Vertex |
SelfInterpreter.toNumber(Vertex text) |
Vertex |
SelfInterpreter.toString(Vertex vertex) |
Vertex |
SelfInterpreter.toSymbol(Vertex vertex) |
Vertex |
SelfInterpreter.toUpperCase(Vertex text) |
Vertex |
SelfInterpreter.trim(Vertex text) |
Vertex |
SelfInterpreter.unpin(Vertex source) |
void |
SelfCompiler.unpin(Vertex element) |
void |
SelfCompiler.unpin(Vertex element,
java.util.List<Primitive> relations,
java.util.Set<Vertex> processed) |
Vertex |
SelfInterpreter.unpin(Vertex source,
Vertex type,
Vertex target) |
Vertex |
SelfInterpreter.weakAdd(Vertex source,
Vertex type,
Vertex target)
Add a weak relationship from the source of the type, to the target object.
|
Vertex |
SelfInterpreter.weakAddWithMeta(Vertex source,
Vertex relationship,
Vertex value,
Vertex metaType,
Vertex metaValue) |
Modifier and Type | Method and Description |
---|---|
static void |
SelfCompiler.addGlobalVariables(Vertex input,
Vertex sentence,
Network network,
java.util.Map<Vertex,Vertex> variables) |
static void |
SelfCompiler.addGlobalVariables(Vertex input,
Vertex sentence,
Network network,
java.util.Map<Vertex,Vertex> variables) |
Vertex |
SelfInterpreter.evaluateADD(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the ADD operation.
|
Vertex |
SelfInterpreter.evaluateADD(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the ADD operation.
|
Vertex |
SelfInterpreter.evaluateAND(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluateAND(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluateCALL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the function invocation.
|
Vertex |
SelfInterpreter.evaluateCALL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the function invocation.
|
Vertex |
SelfInterpreter.evaluateDEBUG(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DEBUG operation.
|
Vertex |
SelfInterpreter.evaluateDEBUG(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DEBUG operation.
|
Vertex |
SelfInterpreter.evaluateDIVIDE(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DIVIDE operation.
|
Vertex |
SelfInterpreter.evaluateDIVIDE(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DIVIDE operation.
|
Vertex |
SelfInterpreter.evaluateDO(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DO operation.
|
Vertex |
SelfInterpreter.evaluateDO(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the DO operation.
|
Vertex |
SelfInterpreter.evaluateEQUALS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the EQUALS operation.
|
Vertex |
SelfInterpreter.evaluateEQUALS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the EQUALS operation.
|
Vertex |
SelfInterpreter.evaluateEVAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluates any eval functions in the equation or formula..
|
Vertex |
SelfInterpreter.evaluateEVAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluates any eval functions in the equation or formula..
|
Vertex |
SelfInterpreter.evaluateEVALCOPY(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the literal object into a copy.
|
Vertex |
SelfInterpreter.evaluateEVALCOPY(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the literal object into a copy.
|
Vertex |
SelfInterpreter.evaluateExpression(Vertex expression,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the expression and return the result.
|
Vertex |
SelfInterpreter.evaluateExpression(Vertex expression,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the expression and return the result.
|
Vertex |
SelfInterpreter.evaluateFOR(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the FOR operation.
|
Vertex |
SelfInterpreter.evaluateFOR(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the FOR operation.
|
Vertex |
SelfInterpreter.evaluateFunction(Vertex function,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the function and return the result.
|
Vertex |
SelfInterpreter.evaluateFunction(Vertex function,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the function and return the result.
|
Vertex |
SelfInterpreter.evaluateGET(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GET operation.
|
Vertex |
SelfInterpreter.evaluateGET(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GET operation.
|
Vertex |
SelfInterpreter.evaluateGREATERTHAN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GREATERTHAN operation.
|
Vertex |
SelfInterpreter.evaluateGREATERTHAN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GREATERTHAN operation.
|
Vertex |
SelfInterpreter.evaluateGREATERTHANEQUAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GREATERTHANEQUAL operation.
|
Vertex |
SelfInterpreter.evaluateGREATERTHANEQUAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the GREATERTHANEQUAL operation.
|
Vertex |
SelfInterpreter.evaluateIF(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the IF operation.
|
Vertex |
SelfInterpreter.evaluateIF(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the IF operation.
|
Vertex |
SelfInterpreter.evaluateINSTANCEOF(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluateINSTANCEOF(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the OR condition.
|
Vertex |
SelfInterpreter.evaluateLEARN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LEARN operation.
|
Vertex |
SelfInterpreter.evaluateLEARN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LEARN operation.
|
Vertex |
SelfInterpreter.evaluateLESSTHAN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LESSTHAN operation.
|
Vertex |
SelfInterpreter.evaluateLESSTHAN(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LESSTHAN operation.
|
Vertex |
SelfInterpreter.evaluateLESSTHANEQUAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LESSTHANEQUAL operation.
|
Vertex |
SelfInterpreter.evaluateLESSTHANEQUAL(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the LESSTHANEQUAL operation.
|
Vertex |
SelfInterpreter.evaluateMINUS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the MINUS operation.
|
Vertex |
SelfInterpreter.evaluateMINUS(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the MINUS operation.
|
Vertex |
SelfInterpreter.evaluateMULTIPLY(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map<Vertex,Vertex> variables,
Network network,
long startTime,
long maxTime,
int stack)
Evaluate the MULTIPLY operation.
|
Vertex |
SelfInterpreter.evaluateMULTIPLY(Vertex expression,
java.util.List<Relationship> arguments,
java.util.Map< |