Class GRKrDelta

java.lang.Object
  |
  +--GRFactor
        |
        +--GRKrDelta
All Implemented Interfaces:
java.lang.Cloneable

public class GRKrDelta
extends GRFactor

Class representing a factor KrDelta(l1,l2) in a General Recoupling Coefficient. Objects of this class are immutable.

Author:
Dries.VanDyck@rug.ac.be
See Also:
GenRecoupCoeff, Edge, GRFactor, GRVisitor

Constructor Summary
GRKrDelta(java.lang.String l1, java.lang.String l2)
          Constructs a new GRKrDelta ChDelta(l1,l2).
 
Method Summary
 void accept(GRVisitor v)
          Implementation of the Visitor pattern.
 java.lang.String[] args()
          Returns the arguments of the GRKrDelta object.
 boolean containsLabel(java.lang.String label)
          True if label appears in this GRKrDelta, false otherwise.
 java.lang.String toString()
          A String representation of this GRKrDelta object.
 
Methods inherited from class GRFactor
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GRKrDelta

public GRKrDelta(java.lang.String l1,
                 java.lang.String l2)
Constructs a new GRKrDelta ChDelta(l1,l2).

Parameters:
l1 - first argument of the Chronicle Delta
l2 - second argument of the Chronicle Delta
Method Detail

containsLabel

public boolean containsLabel(java.lang.String label)
True if label appears in this GRKrDelta, false otherwise.

Specified by:
containsLabel in class GRFactor
Parameters:
label - the label to be checked
Returns:
true if the label appears in this GRPreFactor, false otherwise

args

public java.lang.String[] args()
Returns the arguments of the GRKrDelta object.

Returns:
the arguments of the GRKrDelta as a String array.

toString

public java.lang.String toString()
A String representation of this GRKrDelta object.

Specified by:
toString in class GRFactor
Returns:
a String representation of this GRKrDelta

accept

public void accept(GRVisitor v)
Implementation of the Visitor pattern.

Specified by:
accept in class GRFactor
Parameters:
v - the GRVisitor to be accepted
See Also:
GRVisitor