|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Graph
| Field Summary | |
|---|---|
static int |
METRIC_EUC_2D
|
static int |
METRIC_GEO
|
| Method Summary | |
|---|---|
java.lang.String |
costs2String()
|
int |
getCost(int i,
int j)
Get an edge's cost, distance, weight, or capacity. |
int[][] |
getCosts()
Get the graph's cost or distance matrix. |
int[] |
getMaxCostMaxMatch()
Get a maximum cost maximum matching associated with this graph. |
int[] |
getMinCostMaxMatch()
Get a minimum cost maximum matching associated with this graph. |
int |
size()
Get the size of this graph: The number of vertices. |
java.lang.String |
toString()
Get a string representation of the graph. |
| Field Detail |
|---|
static final int METRIC_GEO
static final int METRIC_EUC_2D
| Method Detail |
|---|
java.lang.String costs2String()
int getCost(int i,
int j)
i - One endpoint of an edge.j - One endpoint of an edge.
int[][] getCosts()
int[] getMinCostMaxMatch()
int[] getMaxCostMaxMatch()
int size()
java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||