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 voidAbstractGTU. interruptMove()Interrupt the move and ask for a new plan.protected booleanAbstractGTU. 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 voidAbstractPerception. perceive()Invoked by the GTU prior to determining the operational plan.voidPerception. perceive()Invoked by the GTU prior to determining the operational plan.default voidEgoPerception. updateAll()Update all information in the perception category.voidPerceptionCategory. 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 LinkDirectionStrategicalPlanner. 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.LinkDirectionStrategicalPlanner. 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.NodeStrategicalPlanner. nextNode(Link link, GTUDirectionality direction, GTUType gtuType)Determine the next node in a network based on a current Link we are on.NodeStrategicalPlanner. 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 OperationalPlanTacticalPlanner. 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 voidOTSNode. addConnection(GTUType gtuType, Link incomingLink, Link outgoingLink)Add a single connection for a GTU type to the connections map.voidOTSNode. addConnections(GTUType gtuType, Link incomingLink, Set<Link> outgoingLinks)Add a set of connections for a GTU type to the connections map.voidNetwork. addInvisibleObject(InvisibleObjectInterface object)Add an ObjectInterface implementing object to the Network.voidOTSNetwork. addInvisibleObject(InvisibleObjectInterface object)Add an ObjectInterface implementing object to the Network.voidNetwork. addLink(Link link)Register a link in the network.voidOTSNetwork. addLink(Link link)Register a link in the network.voidNetwork. addNode(Node node)Register a node in the network.voidOTSNetwork. addNode(Node node)Register a node in the network.voidNetwork. addObject(ObjectInterface object)Add an ObjectInterface implementing object to the Network.voidOTSNetwork. addObject(ObjectInterface object)Add an ObjectInterface implementing object to the Network.voidNetwork. addRoute(GTUType gtuType, Route route)Add a route to the network.voidOTSNetwork. addRoute(GTUType gtuType, Route route)Add a route to the network.CapacityOTSLinkCapacityOTSLink. clone(OTSNetwork newNetwork)Clone the OTSLink for e.g., copying a network.OTSLinkOTSLink. clone(OTSNetwork newNetwork)Clone the OTSLink for e.g., copying a network.static OTSNetworkOTSNetworkUtils. clone(OTSNetwork network, String newId, OTSSimulatorInterface newSimulator)Clone the OTSNetwork.OTSNodeOTSNode. clone1(Network newNetwork)Clone the OTSode for e.g., copying a network.OTSNodeOTSNode. clone2(Network newNetwork)Complete the cloning of the OTSode for e.g., copying a network.LinkNetwork. getLink(String nodeId1, String nodeId2)Find a link between node1 and node2 and return it if it exists in the network.LinkOTSNetwork. getLink(String nodeId1, String nodeId2)Find a link between node1 and node2 and return it if it exists in the network.default CompleteRouteNetwork. getShortestRouteBetween(GTUType gtuType, Node nodeFrom, Node nodeTo)Calculate the shortest route between two nodes in the network.default CompleteRouteNetwork. 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.CompleteRouteNetwork. 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.CompleteRouteNetwork. getShortestRouteBetween(GTUType gtuType, Node nodeFrom, Node nodeTo, LinkWeight linkWeight)Calculate the shortest route between two nodes in the network.CompleteRouteOTSNetwork. 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.CompleteRouteOTSNetwork. 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.CompleteRouteOTSNetwork. 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.voidNetwork. removeInvisibleObject(InvisibleObjectInterface object)Remove an ObjectInterface implementing object form the Network.voidOTSNetwork. removeInvisibleObject(InvisibleObjectInterface object)Remove an ObjectInterface implementing object form the Network.voidNetwork. removeLink(Link link)Unregister a link from the network.voidOTSNetwork. removeLink(Link link)Unregister a link from the network.voidNetwork. removeNode(Node node)Unregister a node from the network.voidOTSNetwork. removeNode(Node node)Unregister a node from the network.voidNetwork. removeObject(ObjectInterface object)Remove an ObjectInterface implementing object form the Network.voidOTSNetwork. removeObject(ObjectInterface object)Remove an ObjectInterface implementing object form the Network.voidNetwork. removeRoute(GTUType gtuType, Route route)Remove the route from the network, e.g.voidOTSNetwork. 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 ColorColors. parseColor(String colorStr)static LongitudinalDirectionalityDirections. 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 CompleteRouteCompleteRoute. addNode(Node node)Add a node to the end of the node list.RouteRoute. addNode(Node node)Add a node to the end of the node list.CompleteRouteCompleteRoute. clone(Network newNetwork)Clone the Route.RouteRoute. clone(Network newNetwork)Clone the Route.NodeRoute. destinationNode()NodeRoute. getNode(int i)NodeRoute. 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 InvisibleObjectInterfaceInvisibleObjectInterface. clone(OTSSimulatorInterface newSimulator, Network newNetwork)Duplicate the invisibleObject in a new simulator and network.StaticObjectStaticObject. clone(Network newNetwork, boolean animation)Clone the StaticObject for e.g., copying a network.static StaticObjectStaticObject. create(String id, OTSLine3D geometry)Make a static object with zero height and carry out the initialization after it has been fully created.static StaticObjectStaticObject. create(String id, OTSLine3D geometry, Length height)Make a static object and carry out the initialization after it has been fully created.protected voidStaticObject. init()Initialize the object after it has been fully created.
-