All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class collage.kernel.Base

java.lang.Object
   |
   +----openstar.util.TypedList
           |
           +----collage.kernel.Base

public class Base
extends TypedList
Derivation base class.

A derivation base is a list of BaseElement objects, and describes the replacement of one or more hyperedges in a collage.

A Base object can be passed to a Collage for execution.

Version:
14 Apr 1997
Author:
Nils Schwabe

Constructor Index

 o Base()

Method Index

 o build(Collage, RuleSet, TableInfo, boolean)
 o contextOk(Collage, Rule, Transformation)
Returns true if the rule satisfies all context conditions.
 o getEdgeRuleExhaust(Collage, RuleSet, TableInfo, Edge, boolean, Rule[], Transformation[])
 o getEdgeRuleNormal(Collage, RuleSet, TableInfo, Edge, boolean, Rule[], Transformation[])
 o getNormRandom()
Returns a random value between 0.0 and 1.0.
 o insert(Edge, Collage, Transformation, Collage)

Constructors

 o Base
  public Base()

Methods

 o build
  public boolean build(Collage collage,
                       RuleSet rules,
                       TableInfo tableInfo,
                       boolean kInverse)
 o insert
  protected void insert(Edge edge,
                        Collage collage,
                        Transformation trans,
                        Collage delContext)
 o getEdgeRuleNormal
  protected boolean getEdgeRuleNormal(Collage collage,
                                      RuleSet rules,
                                      TableInfo tableInfo,
                                      Edge curEdge,
                                      boolean kInverse,
                                      Rule rule[],
                                      Transformation trans[])
 o getEdgeRuleExhaust
  protected boolean getEdgeRuleExhaust(Collage collage,
                                       RuleSet rules,
                                       TableInfo tableInfo,
                                       Edge curEdge,
                                       boolean kInverse,
                                       Rule rule[],
                                       Transformation trans[])
 o contextOk
  protected boolean contextOk(Collage collage,
                              Rule rule,
                              Transformation trans)
Returns true if the rule satisfies all context conditions.

 o getNormRandom
  protected double getNormRandom()
Returns a random value between 0.0 and 1.0.


All Packages  Class Hierarchy  This Package  Previous  Next  Index