public class ConnectionCosts
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTION_COSTS_FILENAME |
Constructor and Description |
---|
ConnectionCosts(int size,
java.nio.ShortBuffer costs) |
Modifier and Type | Method and Description |
---|---|
int |
get(int forwardId,
int backwardId) |
static ConnectionCosts |
newInstance(ResourceResolver resolver) |
public static final java.lang.String CONNECTION_COSTS_FILENAME
public int get(int forwardId, int backwardId)
public static ConnectionCosts newInstance(ResourceResolver resolver) throws java.io.IOException
java.io.IOException