|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJaCoP.constraints.netflow.simplex.Danzig
public class Danzig
A simple rule that always chooses the arc with maximum violation. It minimizes the number of iterations but the computational overhead might be large.
| Field Summary | |
|---|---|
NetworkSimplex |
network
|
| Constructor Summary | |
|---|---|
Danzig(NetworkSimplex network)
|
|
| Method Summary | |
|---|---|
Arc |
next()
Finds the lower arc which violates optimality the most (If all lower arcs satisfy optimality then all upper arcs do too. |
void |
reset()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public NetworkSimplex network
| Constructor Detail |
|---|
public Danzig(NetworkSimplex network)
| Method Detail |
|---|
public Arc next()
next in interface PivotRulepublic void reset()
reset in interface PivotRule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||