|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EntityGraph
EntityGraph stores graphs of entities (= vertices) and relationships (= edges) among those.
| Method Summary | |
|---|---|
void |
addEdge(java.lang.String vertexId1,
java.lang.String vertexId2,
Relationship relation,
int weight)
Adds a relationship edge between vertex vertexId1 and vertex vertexId2. |
void |
addEntity(java.lang.String vertexId,
WorldEntity entity)
Adds an entity i.e. |
void |
analyze(EntityGraphAnalyzer analyzer)
Analyzes the entity graph using the given analysis strategy. |
WorldEntity |
findEntity(java.lang.String vertexId)
Finds the given vertex id. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
void addEntity(java.lang.String vertexId,
WorldEntity entity)
vertexId - the vertex identity - the entity to addWorldEntity findEntity(java.lang.String vertexId)
vertexId - the vertex id
void addEdge(java.lang.String vertexId1,
java.lang.String vertexId2,
Relationship relation,
int weight)
vertexId1 - the first vertex idvertexId2 - the second vertex idrelation - the relationship represented by the edgevoid analyze(EntityGraphAnalyzer analyzer)
analyzer - the analysis strategy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||