Examples of DocumentNode


Examples of ivory.smrf.model.DocumentNode

*/
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

Examples of ivory.smrf.model.DocumentNode

  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

Examples of ivory.smrf.model.DocumentNode

    // 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

Examples of ivory.smrf.model.DocumentNode

    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

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

Examples of ivory.smrf.model.DocumentNode

      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

Examples of ivory.smrf.model.DocumentNode

    // 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

Examples of ivory.smrf.model.DocumentNode

      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

Examples of net.alteiar.campaign.player.gui.centerViews.explorer.tree.DocumentNode

    TreePath path = tree.getPathForLocation(e.getX(), e.getY());

    if (path == null) {
      rootClick(e);
    } else {
      DocumentNode node = (DocumentNode) path.getLastPathComponent();

      BeanBasicDocument doc = node.getUserObject();
      BeanDirectory parent = CampaignClient.getInstance().getBean(
          doc.getParent());
      dirClick(e, parent, doc);
    }
  }
View Full Code Here

Examples of net.alteiar.campaign.player.gui.centerViews.explorer.tree.DocumentNode

  public PanelDocumentExplorer() {
    this.setLayout(new BorderLayout());

    BeanDirectory root = CampaignClient.getInstance().getRootDirectory();
    DocumentNode all = new DocumentNode(root, root.isDirectory());

    MyTreeModel treeModel = new MyTreeModel(all);
    tree = new JTree();
    tree.setModel(treeModel);
    tree.setRootVisible(false);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.