Constructor and Description |
---|
ConnectionCostsCompiler(java.io.OutputStream output) |
Modifier and Type | Method and Description |
---|---|
void |
compile() |
int |
getCardinality() |
java.nio.ShortBuffer |
getCosts() |
void |
putCost(short forwardId,
short backwardId,
short cost) |
void |
readCosts(java.io.InputStream input) |
public ConnectionCostsCompiler(java.io.OutputStream output)
public void readCosts(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public void putCost(short forwardId, short backwardId, short cost)
public void compile() throws java.io.IOException
public int getCardinality()
public java.nio.ShortBuffer getCosts()