story.scheherazade.analysis
Class Contributor

java.lang.Object
  extended by story.scheherazade.analysis.Contributor
All Implemented Interfaces:
java.lang.Comparable

public class Contributor
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
Contributor(ContributorID contributor, java.lang.Object object, NarrativeID storyID, int hops)
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 ScheherIDWithType getContributingType()
           
 ContributorID getContributorID()
           
 int getHops()
           
 java.lang.Object getObject()
           
 NarrativeID getStoryID()
           
 WordNetOffset getWordNetSynsetOffset()
           
 java.lang.StringBuffer render()
           
 java.lang.StringBuffer render(Verbalizer verbalizer, StoryInterpreter story, Style style, PlannerRepository planners)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contributor

public Contributor(ContributorID contributor,
                   java.lang.Object object,
                   NarrativeID storyID,
                   int hops)
            throws Scheherexception
Throws:
Scheherexception
Method Detail

render

public java.lang.StringBuffer render(Verbalizer verbalizer,
                                     StoryInterpreter story,
                                     Style style,
                                     PlannerRepository planners)

render

public java.lang.StringBuffer render()

getStoryID

public NarrativeID getStoryID()

getObject

public java.lang.Object getObject()

getHops

public int getHops()

getContributingType

public ScheherIDWithType getContributingType()

getWordNetSynsetOffset

public WordNetOffset getWordNetSynsetOffset()

getContributorID

public ContributorID getContributorID()

compareTo

public int compareTo(java.lang.Object other)
              throws java.lang.ClassCastException
Specified by:
compareTo in interface java.lang.Comparable
Throws:
java.lang.ClassCastException


Copyright © 2011 David K. Elson. All Rights Reserved.