Tabnine Logo
ReteNode.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
jadex.rules.rulesystem.rete.nodes.ReteNode
constructor

Best Java code snippets using jadex.rules.rulesystem.rete.nodes.ReteNode.<init> (Showing top 4 results out of 315)

origin: net.sourceforge.jadex/jadex-rules

  /**
   *  Create a new build context.
   */
  public BuildContext(ReteNode root, IRule rule)// INode lastbnode, int tuplecnt)
  {
    this.root	= root==null? new ReteNode(): root;
    this.rule	= rule;
    this.lastanode	= null;
    this.lastbnode	= null;
    this.tuplecnt	= 0;
//        this.lastbnode    = lastbnode;//lastnode==null? root: lastnode;
//        this.tuplecnt    = tuplecnt;
    this.varinfos	= new HashMap();
    this.alpha	= false;	// Will only be temporarily activated when building object conditions
  }
   
origin: org.activecomponents.jadex/jadex-rules

  /**
   *  Create a new build context.
   */
  public BuildContext(ReteNode root, IRule rule)// INode lastbnode, int tuplecnt)
  {
    this.root	= root==null? new ReteNode(): root;
    this.rule	= rule;
    this.lastanode	= null;
    this.lastbnode	= null;
    this.tuplecnt	= 0;
//        this.lastbnode    = lastbnode;//lastnode==null? root: lastnode;
//        this.tuplecnt    = tuplecnt;
    this.varinfos	= new HashMap();
    this.alpha	= false;	// Will only be temporarily activated when building object conditions
  }
   
origin: net.sourceforge.jadex/jadex-rules

/**
 *  Create a new Rete pattern matcher functionality.
 */
public RetePatternMatcherFunctionality(IRulebase rulebase)
{
  this.rulebase = rulebase;
  this.node = new ReteNode();
  
  // Build existing rules of the rulebase.
  for(Iterator it=rulebase.getRules().iterator(); it.hasNext(); )
    node.addRule((IRule)it.next());
  
  node.setInited(true);
  rulebase.addRulebaseListener(this);
}
 
origin: org.activecomponents.jadex/jadex-rules

/**
 *  Create a new Rete pattern matcher functionality.
 */
public RetePatternMatcherFunctionality(IRulebase rulebase)
{
  this.rulebase = rulebase;
  this.node = new ReteNode();
  
  // Build existing rules of the rulebase.
  for(Iterator it=rulebase.getRules().iterator(); it.hasNext(); )
    node.addRule((IRule)it.next());
  
  node.setInited(true);
  rulebase.addRulebaseListener(this);
}
 
jadex.rules.rulesystem.rete.nodesReteNode<init>

Javadoc

Create a new rete system.

Popular methods of ReteNode

  • getTerminalNode
    Set the terminal node for a rule.
  • addObject
    Tell the condition system about a new object in the state.
  • addRule
    Add a rule to the network.
  • checkConsistency
    Check consistency of Rete network/memory. For debugging. Only performs some simple checks and does n
  • clone
  • getIndirectNodes
    Get the set of indirectly affected nodes for an attribute type.
  • getInitialFactNode
    Get the initial fact node (if any).
  • getNextNodeId
    Get the next nodecounter.
  • getRelevantAttributes
    Get the set of relevant attribute types.
  • getTypeNode
    Get the node for a type.
  • getTypeNodes
    Get the set of matching type nodes for a (sub)type.
  • modifyObject
    Tell the condition system about a modified object in the state.
  • getTypeNodes,
  • modifyObject,
  • putTerminalNode,
  • removeObject,
  • removeRule,
  • setInited,
  • getBuilder

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • getSupportFragmentManager (FragmentActivity)
  • addToBackStack (FragmentTransaction)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now