|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.svrCore.ExhibitPropsComputableMutable.Factor
public static final class ExhibitPropsComputableMutable.Factor
Single (immutable) component of multi-factor value. Consists of:
The value added into the final value is proportional to: (goodness * correlation) / |correlation|.
Uses float values since there is probably not even that much real precision available, and doing so probably saves space and time. Double values can be passed to the constructors, but the extra precision is discarded.
| Field Summary | |
|---|---|
java.lang.String |
comment
Optional comment fields; can be null. |
float |
correlation
Correlation of this value with overall result: range [-1,+1]. |
float |
goodness
Goodness contributed by this factor: range [-1,+1]. |
| Constructor Summary | |
|---|---|
ExhibitPropsComputableMutable.Factor(double goodness,
double correlation)
We will accept double values, but discard the extra precision. |
|
ExhibitPropsComputableMutable.Factor(double goodness,
double correlation,
java.lang.String comment)
We will accept double values, but discard the extra precision. |
|
ExhibitPropsComputableMutable.Factor(float goodness,
float correlation)
|
|
ExhibitPropsComputableMutable.Factor(float goodness,
float correlation,
java.lang.String comment)
|
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
Convert to human-readable form. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final float goodness
public final float correlation
public final java.lang.String comment
| Constructor Detail |
|---|
public ExhibitPropsComputableMutable.Factor(float goodness,
float correlation)
public ExhibitPropsComputableMutable.Factor(float goodness,
float correlation,
java.lang.String comment)
public ExhibitPropsComputableMutable.Factor(double goodness,
double correlation)
public ExhibitPropsComputableMutable.Factor(double goodness,
double correlation,
java.lang.String comment)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
DHD Multimedia Gallery V1.50.55 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||