story.scheherazade.analysis
Class IntersectionPyramid

java.lang.Object
  extended by story.scheherazade.analysis.IntersectionPyramid

public class IntersectionPyramid
extends java.lang.Object


Constructor Summary
IntersectionPyramid(int numLevels)
           
 
Method Summary
 void add(SCHIntersection intersection)
           
 void addPairwiseIntersection(SCHIntersection intersection)
           
 void addSeedIntersection(SCHIntersection intersection)
           
 void addSeedsToLanguageModel(LanguageModel model)
           
 SCHIntersection findPairwiseIntersection(SCHIntersection source1, SCHIntersection source2)
          Find an SCHIntersection that contains two specific contributors.
 java.util.Vector<SCHIntersection> getLevel(int level)
           
 SCHIntersection getSeedIntersection(NarrativeID story, AssignedPredicate predicate)
           
 java.lang.StringBuffer render()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntersectionPyramid

public IntersectionPyramid(int numLevels)
Method Detail

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.