|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--GRCompoundFactor | +--GRSummation
Class representing a summation factor
sum(summvar)
*
GRCompoundFactor
appearing in the expression for a
General Recoupling Coefficient for angular momenta.
GenRecoupCoeff
,
Edge
,
GRCompoundFactor
,
GRPreFactor
,
GRFactor
,
GRVisitor
Constructor Summary | |
GRSummation(java.lang.String summvar,
java.lang.String a,
java.lang.String b,
java.lang.String c,
java.lang.String d)
Constructs a new GRSummation object with summation variable summvar with couplings (a,b,summvar)
and (c,d,summvar) . |
|
GRSummation(java.lang.String summvar,
java.lang.String a,
java.lang.String b,
java.lang.String c,
java.lang.String d,
GRFactor f)
Constructs a new GRSummation object with summation variable summvar and factor f . |
|
GRSummation(java.lang.String summvar,
java.lang.String a,
java.lang.String b,
java.lang.String c,
java.lang.String d,
int nroffactors)
Constructs a new GRSummation object with summation variable summvar and nroffactors expected
number of factors. |
|
GRSummation(java.lang.String summvar,
java.lang.String a,
java.lang.String b,
java.lang.String c,
java.lang.String d,
int nroffactors,
GRFactor f)
Constructs a new GRSummation object with summation variable summvar , initial factor f and
nroffactors expected number of factors. |
Method Summary | |
void |
accept(GRVisitor v)
Implementation of the Visitor pattern. |
java.lang.Object |
clone()
Returns a clone of this GRSummation object. |
java.lang.String[] |
couplings()
Returns the labels of the edges coupled with the summatian variable s; suppose s was coupled as (a,b,s) and (c,d,s) than {a,b,c,d} is returned. |
java.lang.String |
summVar()
Returns the label of the summation variable of this summation factor. |
java.lang.String |
toString()
Returns a String representation of this GRSummation object. |
Methods inherited from class GRCompoundFactor |
append, appendExp, appendExp, appendFactor, appendFactor, containsLabel, factors |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GRSummation(java.lang.String summvar, java.lang.String a, java.lang.String b, java.lang.String c, java.lang.String d)
summvar
with couplings (a,b,summvar)
and (c,d,summvar)
.
summvar
- the label of the summation variablea
- first neighbor at first sideb
- second neighbor at firs sidec
- first neighbor at second sided
- second neighbor at second sidepublic GRSummation(java.lang.String summvar, java.lang.String a, java.lang.String b, java.lang.String c, java.lang.String d, int nroffactors)
summvar
and nroffactors
expected
number of factors.
summvar
- the label of the summation variablea
- first neighbor at first sideb
- second neighbor at firs sidec
- first neighbor at second sided
- second neighbor at second sidenroffactors
- expected number of factorspublic GRSummation(java.lang.String summvar, java.lang.String a, java.lang.String b, java.lang.String c, java.lang.String d, GRFactor f)
summvar
and factor f
.
summvar
- the label of the summation variablea
- first neighbor at first sideb
- second neighbor at firs sidec
- first neighbor at second sided
- second neighbor at second sidef
- initial factor GRFactor
GRFactor
public GRSummation(java.lang.String summvar, java.lang.String a, java.lang.String b, java.lang.String c, java.lang.String d, int nroffactors, GRFactor f)
summvar
, initial factor f
and
nroffactors
expected number of factors.
summvar
- the label of the summation variablea
- first neighbor at first sideb
- second neighbor at firs sidec
- first neighbor at second sided
- second neighbor at second sidef
- initial factor GRFactor
nroffactors
- expected number of factorsGRFactor
Method Detail |
public java.lang.String summVar()
public java.lang.String[] couplings()
public java.lang.String toString()
toString
in class GRCompoundFactor
public java.lang.Object clone()
clone
in class GRCompoundFactor
public void accept(GRVisitor v)
accept
in class GRCompoundFactor
v
- the GRVisitor to be acceptedGRVisitor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |