|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WeightCombiner
Binary operator for edge weights. There are some prewritten operators.
Field Summary | |
---|---|
static WeightCombiner |
FIRST
First weight. |
static WeightCombiner |
MAX
Maximum weight. |
static WeightCombiner |
MIN
Minimum weight. |
static WeightCombiner |
SECOND
Second weight. |
static WeightCombiner |
SUM
Sum of weights. |
Method Summary | |
---|---|
double |
combine(double a,
double b)
Combines two weights. |
Field Detail |
---|
static final WeightCombiner SUM
static final WeightCombiner MIN
static final WeightCombiner MAX
static final WeightCombiner FIRST
static final WeightCombiner SECOND
Method Detail |
---|
double combine(double a, double b)
a
- first weightb
- second weight
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |