story.scheherazade.analysis
Class IntersectionPyramid
java.lang.Object
story.scheherazade.analysis.IntersectionPyramid
public class IntersectionPyramid
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IntersectionPyramid
public IntersectionPyramid(int numLevels)
add
public void add(SCHIntersection intersection)
throws Scheherexception
- Throws:
Scheherexception
addSeedIntersection
public void addSeedIntersection(SCHIntersection intersection)
throws Scheherexception
- Throws:
Scheherexception
getSeedIntersection
public SCHIntersection getSeedIntersection(NarrativeID story,
AssignedPredicate predicate)
throws Scheherexception
- Throws:
Scheherexception
addPairwiseIntersection
public void addPairwiseIntersection(SCHIntersection intersection)
throws Scheherexception
- Throws:
Scheherexception
findPairwiseIntersection
public SCHIntersection findPairwiseIntersection(SCHIntersection source1,
SCHIntersection source2)
- Find an SCHIntersection that contains two specific contributors.
Return null if no such intersection exists.
getLevel
public java.util.Vector<SCHIntersection> getLevel(int level)
throws Scheherexception
- Throws:
Scheherexception
render
public java.lang.StringBuffer render()
throws Scheherexception
- Throws:
Scheherexception
addSeedsToLanguageModel
public void addSeedsToLanguageModel(LanguageModel model)
throws Scheherexception
- Throws:
Scheherexception
Copyright © 2011 David K. Elson. All Rights Reserved.