Uses of Class
org.opentrafficsim.core.network.NetworkException
-
Packages that use NetworkException Package Description org.opentrafficsim.core.gtu GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.org.opentrafficsim.core.gtu.perception The perception module of a GTU is responsible for perceiving (sensing) the environment of the GTU, which includes the locations of other GTUs.org.opentrafficsim.core.gtu.plan.strategical Strategical planners.org.opentrafficsim.core.gtu.plan.tactical Tactical planners generate operational plans that are in line with reaching the goals of the strategical plan.org.opentrafficsim.core.network Classes that build a network with nodes, links, and cross-sections.org.opentrafficsim.core.network.factory.xml.units Copyright (c) 2013-2022 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.org.opentrafficsim.core.network.route Routes and route probabilities.org.opentrafficsim.core.object Static objects that the GTU might have to avoid. -
-
Uses of NetworkException in org.opentrafficsim.core.gtu
Methods in org.opentrafficsim.core.gtu that throw NetworkException Modifier and Type Method Description protected void
AbstractGTU. interruptMove()
Interrupt the move and ask for a new plan.protected boolean
AbstractGTU. move(DirectedPoint fromLocation)
Move from the current location according to an operational plan to a location that will bring us nearer to reaching the location provided by the strategical planner. -
Uses of NetworkException in org.opentrafficsim.core.gtu.perception
Methods in org.opentrafficsim.core.gtu.perception that throw NetworkException Modifier and Type Method Description void
AbstractPerception. perceive()
Invoked by the GTU prior to determining the operational plan.void
Perception. perceive()
Invoked by the GTU prior to determining the operational plan.default void
EgoPerception. updateAll()
Update all information in the perception category.void
PerceptionCategory. updateAll()
Update all information in the perception category. -
Uses of NetworkException in org.opentrafficsim.core.gtu.plan.strategical
Methods in org.opentrafficsim.core.gtu.plan.strategical that throw NetworkException Modifier and Type Method Description LinkDirection
StrategicalPlanner. nextLinkDirection(Link link, GTUDirectionality direction, GTUType gtuType)
Determine the next link and driving direction (with or against the design line) in a network based on a current Link we are on.LinkDirection
StrategicalPlanner. nextLinkDirection(Node node, Link previousLink, GTUType gtuType)
Determine the next link and driving direction (with or against the design line) in a network based on a node and a driving direction of the GTU.Node
StrategicalPlanner. nextNode(Link link, GTUDirectionality direction, GTUType gtuType)
Determine the next node in a network based on a current Link we are on.Node
StrategicalPlanner. nextNode(Node node, Link previousLink, GTUType gtuType)
Determine the next node in a network based on a given node. -
Uses of NetworkException in org.opentrafficsim.core.gtu.plan.tactical
Methods in org.opentrafficsim.core.gtu.plan.tactical that throw NetworkException Modifier and Type Method Description OperationalPlan
TacticalPlanner. generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime)
generate an operational plan, for now or for in the future. -
Uses of NetworkException in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that throw NetworkException Modifier and Type Method Description void
OTSNode. addConnection(GTUType gtuType, Link incomingLink, Link outgoingLink)
Add a single connection for a GTU type to the connections map.void
OTSNode. addConnections(GTUType gtuType, Link incomingLink, Set<Link> outgoingLinks)
Add a set of connections for a GTU type to the connections map.void
Network. addInvisibleObject(InvisibleObjectInterface object)
Add an ObjectInterface implementing object to the Network.void
OTSNetwork. addInvisibleObject(InvisibleObjectInterface object)
Add an ObjectInterface implementing object to the Network.void
Network. addLink(Link link)
Register a link in the network.void
OTSNetwork. addLink(Link link)
Register a link in the network.void
Network. addNode(Node node)
Register a node in the network.void
OTSNetwork. addNode(Node node)
Register a node in the network.void
Network. addObject(ObjectInterface object)
Add an ObjectInterface implementing object to the Network.void
OTSNetwork. addObject(ObjectInterface object)
Add an ObjectInterface implementing object to the Network.void
Network. addRoute(GTUType gtuType, Route route)
Add a route to the network.void
OTSNetwork. addRoute(GTUType gtuType, Route route)
Add a route to the network.CapacityOTSLink
CapacityOTSLink. clone(OTSNetwork newNetwork)
Clone the OTSLink for e.g., copying a network.OTSLink
OTSLink. clone(OTSNetwork newNetwork)
Clone the OTSLink for e.g., copying a network.static OTSNetwork
OTSNetworkUtils. clone(OTSNetwork network, String newId, OTSSimulatorInterface newSimulator)
Clone the OTSNetwork.OTSNode
OTSNode. clone1(Network newNetwork)
Clone the OTSode for e.g., copying a network.OTSNode
OTSNode. clone2(Network newNetwork)
Complete the cloning of the OTSode for e.g., copying a network.Link
Network. getLink(String nodeId1, String nodeId2)
Find a link between node1 and node2 and return it if it exists in the network.Link
OTSNetwork. getLink(String nodeId1, String nodeId2)
Find a link between node1 and node2 and return it if it exists in the network.default CompleteRoute
Network. getShortestRouteBetween(GTUType gtuType, Node nodeFrom, Node nodeTo)
Calculate the shortest route between two nodes in the network.default CompleteRoute
Network. getShortestRouteBetween(GTUType gtuType, Node nodeFrom, Node nodeTo, List<Node> nodesVia)
Calculate the shortest route between two nodes in the network, via a list of intermediate nodes.CompleteRoute
Network. getShortestRouteBetween(GTUType gtuType, Node nodeFrom, Node nodeTo, List<Node> nodesVia, LinkWeight linkWeight)
Calculate the shortest route between two nodes in the network, via a list of intermediate nodes.CompleteRoute
Network. getShortestRouteBetween(GTUType gtuType, Node nodeFrom, Node nodeTo, LinkWeight linkWeight)
Calculate the shortest route between two nodes in the network.CompleteRoute
OTSNetwork. getShortestRouteBetween(GTUType gtuType, Node nodeFrom, Node nodeTo, List<Node> nodesVia)
Calculate the shortest route between two nodes in the network, via a list of intermediate nodes.CompleteRoute
OTSNetwork. getShortestRouteBetween(GTUType gtuType, Node nodeFrom, Node nodeTo, List<Node> nodesVia, LinkWeight linkWeight)
Calculate the shortest route between two nodes in the network, via a list of intermediate nodes.CompleteRoute
OTSNetwork. getShortestRouteBetween(GTUType gtuType, Node nodeFrom, Node nodeTo, LinkWeight linkWeight)
Calculate the shortest route between two nodes in the network.Set<Link>
Node. nextLinks(GTUType gtuType, Link prevLink)
Determine the links connecting from the previous link via this Node for the given GTU type.Set<Link>
OTSNode. nextLinks(GTUType gtuType, Link prevLink)
Determine the links connecting from the previous link via this Node for the given GTU type.void
Network. removeInvisibleObject(InvisibleObjectInterface object)
Remove an ObjectInterface implementing object form the Network.void
OTSNetwork. removeInvisibleObject(InvisibleObjectInterface object)
Remove an ObjectInterface implementing object form the Network.void
Network. removeLink(Link link)
Unregister a link from the network.void
OTSNetwork. removeLink(Link link)
Unregister a link from the network.void
Network. removeNode(Node node)
Unregister a node from the network.void
OTSNetwork. removeNode(Node node)
Unregister a node from the network.void
Network. removeObject(ObjectInterface object)
Remove an ObjectInterface implementing object form the Network.void
OTSNetwork. removeObject(ObjectInterface object)
Remove an ObjectInterface implementing object form the Network.void
Network. removeRoute(GTUType gtuType, Route route)
Remove the route from the network, e.g.void
OTSNetwork. removeRoute(GTUType gtuType, Route route)
Remove the route from the network, e.g.Constructors in org.opentrafficsim.core.network that throw NetworkException Constructor Description CapacityOTSLink(Network network, String id, Node startNode, Node endNode, LinkType linkType, OTSLine3D designLine, Frequency capacity)
Construct a new link.CapacityOTSLink(Network newNetwork, CapacityOTSLink link)
Clone a link for a new network.OTSLink(Network network, String id, Node startNode, Node endNode, LinkType linkType, OTSLine3D designLine)
Construct a new link.OTSLink(Network newNetwork, OTSLink link)
Clone a link for a new network.OTSNode(Network network, String id, OTSPoint3D point)
Construction of a Node.OTSNode(Network network, String id, OTSPoint3D point, double heading)
Construction of a Node. -
Uses of NetworkException in org.opentrafficsim.core.network.factory.xml.units
Methods in org.opentrafficsim.core.network.factory.xml.units that throw NetworkException Modifier and Type Method Description static Color
Colors. parseColor(String colorStr)
static LongitudinalDirectionality
Directions. parseDirection(String dirStr)
static ContinuousDistDoubleScalar.Rel<Duration,DurationUnit>
Distributions. parseDurationDist(String s)
Parse a relative time distribution, e.g.static ContinuousDistDoubleScalar.Rel<Length,LengthUnit>
Distributions. parseLengthDist(String s)
Parse a relative length distribution, e.g.static ContinuousDistDoubleScalar.Abs<Position,PositionUnit,LengthUnit>
Distributions. parsePositionDist(String s)
Parse an absolute length distribution, e.g.static ContinuousDistDoubleScalar.Rel<Speed,SpeedUnit>
Distributions. parseSpeedDist(String s)
Parse a relative speed distribution, e.g.static ContinuousDistDoubleScalar.Abs<Time,TimeUnit,DurationUnit>
Distributions. parseTimeDist(String s)
Parse an absolute time distribution, e.g. -
Uses of NetworkException in org.opentrafficsim.core.network.route
Methods in org.opentrafficsim.core.network.route that throw NetworkException Modifier and Type Method Description CompleteRoute
CompleteRoute. addNode(Node node)
Add a node to the end of the node list.Route
Route. addNode(Node node)
Add a node to the end of the node list.CompleteRoute
CompleteRoute. clone(Network newNetwork)
Clone the Route.Route
Route. clone(Network newNetwork)
Clone the Route.Node
Route. destinationNode()
Node
Route. getNode(int i)
Node
Route. originNode()
Constructors in org.opentrafficsim.core.network.route that throw NetworkException Constructor Description CompleteRoute(String id, GTUType gtuType, List<Node> nodes)
Create a route based on an initial list of nodes. -
Uses of NetworkException in org.opentrafficsim.core.object
Methods in org.opentrafficsim.core.object that throw NetworkException Modifier and Type Method Description InvisibleObjectInterface
InvisibleObjectInterface. clone(OTSSimulatorInterface newSimulator, Network newNetwork)
Duplicate the invisibleObject in a new simulator and network.StaticObject
StaticObject. clone(Network newNetwork, boolean animation)
Clone the StaticObject for e.g., copying a network.static StaticObject
StaticObject. create(String id, OTSLine3D geometry)
Make a static object with zero height and carry out the initialization after it has been fully created.static StaticObject
StaticObject. create(String id, OTSLine3D geometry, Length height)
Make a static object and carry out the initialization after it has been fully created.protected void
StaticObject. init()
Initialize the object after it has been fully created.
-