Uses of Class
standup.joke.JokeConstraints

Packages that use JokeConstraints
standup.joke This package provides joke generation functionality and all its related data structures. 
 

Uses of JokeConstraints in standup.joke
 

Methods in standup.joke that return JokeConstraints
 JokeConstraints Backend.buildUserProfileConstraints()
          Builds and returns a JokeConstraints that represents the various parameters and choices in the current ProfileJokeGeneration.
 

Methods in standup.joke with parameters of type JokeConstraints
 void JokeConstraints.add(JokeConstraints cs)
           
 void ProfileJokeGeneration.addUserConstraints(JokeConstraints jcs, JokeTypeSet allJokeTypes, LexicalComponents lxc)
          Constructs the various constraints found in this profile relating to joke generation, and adds them to the given JokeConstraints.
 JokeStructure Generator.generateJoke(String newJokeID, JokeConstraints constraints)
          Generates a new JokeStructure that satisfies the constraints arguments, with the ID specified by newJokeID.
private  JokeStructure Generator.generateJokeStructure(String newJokeID, Schema schema, List<Keyword> lex, List<String> templatesQuestion, List<String> templatesAnswer, double phonSimValue, JokeConstraints constraints)
          This is the core algorithm which instantiates a schema's lexical preconditions with suitable lexemes, binds the output specification function clauses, builds the initial JokeGraph, and passes it on to surface generation.
(package private)  JokeStructure BackendSQL.generateNewJoke(String newJokeID, JokeConstraints jcs)
          Generates a new one that satisfies the given JokeConstraints and labels it with the given joke ID.
(package private)  JokeStructure BackendJokeSetSQL.generateNewJoke(String newJokeID, JokeConstraints jcs)
          Obtains a joke, either by generating a new one or retrieving an existing one from the joke cache, which satisfies the given JokeConstraints and labels it with the given joke ID.
(package private)  JokeStructure BackendJokeSetOnly.generateNewJoke(String newJokeID, JokeConstraints jcs)
          Retrieves a joke from the joke cache that satisfies the given JokeConstraints and labels it with the given joke ID.
(package private) abstract  JokeStructure Backend.generateNewJoke(String newJokeID, JokeConstraints jcs)
          Attempts to generate a new joke that satisfies the given JokeConstraints and labels it with the given joke ID.
 JokeSet JokeSet.getJokes(JokeConstraints jcs)
           
 JokeStructure Backend.getNewJoke(JokeConstraints jcs)
          Tries to generate a new joke that satisfies the given JokeConstraints.
 JokeSet Backend.getOldJokes(JokeConstraints constraints)
          Returns the subset of the current user's previously generated jokes that satisfy the given JokeConstraints.
(package private)  SQLSchemaRow Schema.getValidInstantiation(JokeConstraints constraints)
          Returns a valid instantiation for this schema that satisfies the given JokeConstraints.
private  UnifiableCompound Generator.obtainTemplateSpecifier(UnifiableCompound osf, JokeGraph jokeGraph, JokeConstraints constraints)
          Given an output specification function, this method finds an appropriate clause, instantiates it with values that satisfy the given JokeConstraints, updates the jokegraph, and returns the resulting template specifier.
private  List<UnifiableCompound> Generator.obtainTemplateSpecifiers(List<UnifiableCompound> osfs, JokeGraph jokeGraph, JokeConstraints constraints)
           Performs clause instantiation.
 void JokeConstraints.remove(JokeConstraints cs)
           
 boolean JokeStructure.satisfies(JokeConstraints constraints)
           
private  WordStruct Generator.surfaceGenerate(List<UnifiableCompound> outputSpecificationFunction, String template, JokeGraph jokeGraph, JokeConstraints constraints)
          Takes an output specification function, instantiated with nodes in the given JokeGraph, and generates a WordStruct using the given template and satisfying the given JokeConstraints.