com.clarkparsia.pellet.rules.rete
Class AlphaIndex

java.lang.Object
  extended by com.clarkparsia.pellet.rules.rete.AlphaIndex

public class AlphaIndex
extends java.lang.Object

Title: Alpha Index

Description:

Copyright: Copyright (c) 2007

Company: Clark & Parsia, LLC.

Author:
Ron Alford

Constructor Summary
AlphaIndex()
           
 
Method Summary
 AlphaNode add(TermTuple pattern)
           
 java.util.Collection<AlphaNode> match(Fact fact)
          Return a list of matching alpha nodes for a given pattern
 void reset()
          Reset all alpha nodes (clear their match facts)
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlphaIndex

public AlphaIndex()
Method Detail

add

public AlphaNode add(TermTuple pattern)

match

public java.util.Collection<AlphaNode> match(Fact fact)
Return a list of matching alpha nodes for a given pattern


reset

public void reset()
Reset all alpha nodes (clear their match facts)


size

public int size()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004 Evren Sirin. All Rights Reserved.