![]() ![]() The section concluded with the announcement of an online AnyLogic 9 IDE prototype from December 2020 that will initially be available for limited community testing. Teamwork support and deep integration with Git. ![]() Web UI that makes model development much quicker.BIM and GIS capabilities including importing of large 3D BIM files and accessing GIS meta information.Very large model support (tens of thousands of pedestrians for example).The presentation included details of performance improvements, support for multiple scripting languages, BIM and GIS advancements, the new GUI, teamwork support and Git, licensing options, and more: Interface changes are focused on improving the user experience and helping modelers work more quickly and intuitively. The release of version 9 is set to transform model development, simulation, and presentation on the AnyLogic platform. Looking further along the roadmap, planned OAuth/openID and Kubernetes integrations promise to help expand cloud simulation accessibility and versatility. Soon after and before the end of the year, with the 2.3 release,ĪnyLogic Cloud users will be able to run simulation models in a reinforcement learning mode and more enterprise features will be added, such as LDAP support. The cloud platform iterates quickly, and the upcoming 2.2 release is set to introduce an updated admin interface and an all-runs download. Reinforcement Learning experiment using either Microsoft Bonsai or Pathmind platforms.Additional DXF support (2010+) and conversion of CAD drawing layers into AnyLogic markup.Pedestrian library updates, including social distancing.Overhead cranes with multiple bridges API to crane operation.The next major release of the AnyLogic simulation platform is scheduled to include: Cloud updates will continue to iterate throughout, promising API, admin, and reinforcement learning advancements. Until then, AnyLogic 8 and vertical library development will continue, with AnyLogic 8.7 due in November 2020. ![]() September 2021 and the AnyLogic Conference is the target release date for AnyLogic 9. (Since the distance is returned in pixels, you may want to convert that to an appropriate length unit using the current Scale of the agent containing the network, via something like scale.toLengthUnits(distance, METER).AnyLogic 9 overview and roadmap presentation recording from the AnyLogic User Experience with MaxRad, October 12th, 2020. ShortestPathData pathData = network.getPathData(p1, p2, null) ĭouble distance = network.getDistance(p1, p2, pathData) Point p2 = new Point(agent2.getX(), agent2.getY()) So you'd have code something like the below, where agent1 and agent2 are references to your two agents in question, and network is the nodes/paths network (assuming this code is in the agent that contains this network): Point p1 = new Point(agent1.getX(), agent1.getY()) (This shortest-path-data represents the calculated route between two points, and you can then get the distance between any set of points on that route.) Plus you have to create (instantiate) Point objects (there is no Point function) and get the ShortestPathData for the network and from/to points in question. The getDistance function (Java method) you are trying to call only exists on a Network object (where the network is the 'parent' of all the nodes and paths in a connected network). Typically, though, you don't need to use the distance-by-path, so what exactly is your reason for needing it? Even where you do, it may often be good enough just to use the straight-line distance, which you can get via the getDistance functions in agents, not the getDistance functions for a network.) ![]() (Agents in GIS space have a distanceByRoute function to get the distance via the GIS space to another agent, but there is no equivalent for agents in networks I am aware of. I wouldn't want to guarantee that this will stay the same in future releases (and requires a good understanding of Java). This is doable using the function you are trying to use, but that function is effectively complex internal (undocumented) AnyLogic code relating to how agents move across networks 'under the covers' (when asked to do so via blocks or moveTo function calls). ![]()
0 Comments
Leave a Reply. |