org.deri.iris.api.factory
Interface IGraphFactory

All Known Implementing Classes:
GraphFactory

public interface IGraphFactory

An interface that can be used to create a predicate graph.

$Id$

Version:
$Revision$
Author:
Richard P??ttler (richard dot poettler at deri dot at)

Method Summary
 IPredicateGraph createPredicateGraph()
          Constructs a new empty predicate graph.
 IPredicateGraph createPredicateGraph(Collection<IRule> r)
          Constructs a new predicate graph initialized with a collection of rules.
 

Method Detail

createPredicateGraph

IPredicateGraph createPredicateGraph()
Constructs a new empty predicate graph.

Returns:
the constructed graph

createPredicateGraph

IPredicateGraph createPredicateGraph(Collection<IRule> r)
Constructs a new predicate graph initialized with a collection of rules.

Parameters:
r - the rules with which to initialize the graph
Returns:
the constructed graph