bamboo.sim
Class CachingNetworkModel
java.lang.Object
bamboo.sim.CachingNetworkModel
- All Implemented Interfaces:
- NetworkModel
- Direct Known Subclasses:
- TransitStub
public abstract class CachingNetworkModel
- extends Object
- implements NetworkModel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cache
protected LruMap cache
CachingNetworkModel
public CachingNetworkModel(int cache_size)
compute_route_info
public NetworkModel.RouteInfo compute_route_info(int src,
int dst)
- Specified by:
compute_route_info in interface NetworkModel
the_real_compute_route_info
protected abstract NetworkModel.RouteInfo the_real_compute_route_info(int src,
int dst)