|
|||||||||
| 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 | |
|---|---|
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(float goodness,
float correlation)
|
|
| 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
| Constructor Detail |
|---|
public ExhibitPropsComputableMutable.Factor(float goodness,
float correlation)
public ExhibitPropsComputableMutable.Factor(double goodness,
double correlation)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
|
DHD Multimedia Gallery V1.60.69 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||