|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.architecture.traffic.edit.Validation
public class Validation
This method validates the entire infrastructure It adds IDs for nodes (starting with edgenodes). It adds IDs for Roads and Drivelanes. It checks wheter there are any 'empty' nodes It checks the number of EdgeNodes (should be >2) It adds SPData and SCData. It checks the connectedness of the graph for each type.
| Field Summary | |
|---|---|
protected SpawnFrequency[] |
spawnFreq
DOCUMENT ME! |
| Constructor Summary | |
|---|---|
Validation(Infrastructure i)
Creates a new Validation object. |
|
| Method Summary | |
|---|---|
protected void |
sortNodeArray(Node[] nodes)
DOCUMENT ME! |
java.util.Vector |
validate()
DOCUMENT ME! |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SpawnFrequency[] spawnFreq
| Constructor Detail |
|---|
public Validation(Infrastructure i)
i - DOCUMENT ME!| Method Detail |
|---|
protected void sortNodeArray(Node[] nodes)
nodes - DOCUMENT ME!
public java.util.Vector validate()
throws InfraException
InfraException - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||