next up previous
Next: Regular City Up: CiudadSim Examples Previous: Normal Random City

Random City

The calling sequence for this example is given by:
$ net={\rm TrafficExample}('Random\;City',nn,na,nd,nf) $
This expression generates randomly a strongly connected network with nn nodes, (approximately) at least na links and (approximately) nd OD pairs. The value of nf indicates the formula chosen for the computation of the travel time, by default it is 6. Executing sentence:
$net={\rm TrafficExample}('Random\;City',5,6,2);$
we obtain

Figure 6: Non-assigned and Assigned Random City Net
\includegraphics[width=60mm]{rnet} \includegraphics[width=60mm]{rnetassig}

Link performance function: \(c=t0+ca F+ma F^{2}.\)



2002-09-12