Package ivory.smrf.model

Examples of ivory.smrf.model.DocumentNode


      Node domNode, boolean docDependent, int cascadeStage, String pruner_and_params) throws ConfigurationException {
    // Clique set.
    List<Clique> cliques = Lists.newArrayList();

    // The document node.
    DocumentNode docNode = new DocumentNode();

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here


      throws ConfigurationException {
    // Clique set.
    List<Clique> cliques = Lists.newArrayList();

    // The document node.
    DocumentNode docNode = new DocumentNode();

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here

    // Initialize clique set.
    clearCliques();

    // The document node.
    DocumentNode docNode = new DocumentNode();

    // Default parameter associated with clique set.
    Parameter termParameter = new Parameter(Parameter.DEFAULT, 1.0f);

    // Get potential type.
View Full Code Here

*/
public class CliqueFactory {
  public static List<Clique> getSequentialDependenceCliques(RetrievalEnvironment env,
      String[] queryTerms, Node domNode, boolean docDependent) throws ConfigurationException {
    List<Clique> cliques = Lists.newArrayList();     // Clique set.
    DocumentNode docNode = new DocumentNode();       // The document node.

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here

  public static List<Clique> getFullDependenceCliques(RetrievalEnvironment env,
      String[] queryTerms, Node domNode, boolean ordered, boolean docDependent)
      throws ConfigurationException {
    List<Clique> cliques = Lists.newArrayList();     // Clique set.
    DocumentNode docNode = new DocumentNode();       // The document node.

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here

    // Initialize clique set.
    clearCliques();

    // The document node.
    DocumentNode docNode = new DocumentNode();

    // Default parameter associated with clique set.
    Parameter termParameter = new Parameter(Parameter.DEFAULT, 1.0f);

    // Get potential type.
View Full Code Here

    Preconditions.checkNotNull(domNode);

    // Initialize clique set.
    clearCliques();

    DocumentNode docNode = new DocumentNode();
    ArrayList<GraphNode> cliqueNodes = Lists.newArrayList();
    cliqueNodes.add(docNode);

    String paramId = XMLTools.getAttributeValueOrThrowException(domNode, "id",
        "Error: A potential attribute must be specified in order to generate a clique set!");
View Full Code Here

      bestConcepts[i] = a;
      totalWt += a.score;
    }

    // Document node (shared across all expansion cliques).
    DocumentNode docNode = new DocumentNode();

    // Expression generator (shared across all expansion cliques).
    ExpressionGenerator generator = new TermExpressionGenerator();

    // Add cliques corresponding to best expansion concepts.
View Full Code Here

*/
public class CliqueFactory {
  public static List<Clique> getSequentialDependenceCliques(RetrievalEnvironment env,
      String[] queryTerms, Node domNode, boolean docDependent) throws ConfigurationException {
    List<Clique> cliques = Lists.newArrayList();     // Clique set.
    DocumentNode docNode = new DocumentNode();       // The document node.

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here

  public static List<Clique> getFullDependenceCliques(RetrievalEnvironment env,
      String[] queryTerms, Node domNode, boolean ordered, boolean docDependent)
      throws ConfigurationException {
    List<Clique> cliques = Lists.newArrayList();     // Clique set.
    DocumentNode docNode = new DocumentNode();       // The document node.

    // If there are no terms, then return an empty MRF.
    if (queryTerms.length == 0) {
      return cliques;
    }
View Full Code Here

TOP

Related Classes of ivory.smrf.model.DocumentNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.