AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Anylogic java tutorial4/17/2024 This year's coursework 2 task description Lab: Coursework clinic (uses a source element when recycling PC agents) Lecture: Cost-Benefit and Multi-Criteria Decision Analysis Lab: Try linking AnyLogic and HeuristicLab start with planning coursework 2 My HowTo Video: Running Experiments in HeuristicLab Using AnyLogic.Workshop: Peer's PhD students present their PhD projects AnyLogic HowTo Video: Optimisation Experiment.Lab: Implementing Simulation Optimisation Workshop: Optimisation Experiments in AnyLogic Lecture: Optimisation with ABM Simulation Workshop: Evaluating Heuristic Algorithms Lab: Exploring Simulation Optimisation Examples Workshop: Combining Simulation and Optimization Lecture: Constructive and Local Search Heuristics Workshop: AnyLogic - Beginner to Pro in under an hour ) Useful resource: Transentis's Introduction to System Dynamics with iThink.Lecture: System dynamics modelling and simulation + hybrids Workshop: Introduction to focus groups + Peer's research Useful resource: Jose Vidal's videos on ABM and MAS using NetLogo.Useful resource: Nathaniel Osgood's ABM Bootcamp slides.Lecture: Agent-based modelling and simulation Workshop: Validation and verification within the simulation life cycle + introduction to group activity Useful resource: SimioSimulation YouTube Chanel.Useful resource: Nathaniel Osgood's Discrete Event Modelling in AnyLogic.Lecture: Discrete event modelling and simulation Workshop: Data and information + representing unpredictable variability Homework: Watch the following video >Inaugural Lecture of Professor Stewart Robinson<< Lecture: Conceptual modelling + conceptual modelling exercise Workshop: Working with AnyLogic and Java Lecture: Introduction to AnyLogic and Java Lecture: Introduction to simulation and optimisation (the bigger picture) I teach this module together with my colleague Dario Landa-Silva. If you are one of my COMP4038 students, please use Moodle instead of this website, as the slides here contain lots of spoilers for the in-class activities. Throughout the module, you will become more competent in choosing and implementing the appropriate method(s) for the particular problem at hand. The foundations for applying these methods are derived from Operations Research Simulation, Social Simulation, Data Science, Automated Scheduling, and Decision Analysis. This module offers insight into the applications of selected methods of decision support. target equals null target = warehouse //assign the object (pointed to by the variable) warehouse to target //now target and warehouse point to the same object … target = null //target forgets about the warehouse and equals null again Inheritance.G54SOD: Simulation and Optimisation for Decision Support Location target //a variable is declared without initialization. Sometimes you explicitly assign null to a variable to "forget" the object it referred to and to indicate that the object is missing or unavailable. If you declare a variable of a non-primitive type (of a class) and do not initialize it, its value will be set to null (null is a special Java literal that denotes "nothing"). The expression origin.distanceTo( destination ) is a method call – it asks the object origin to calculate the distance to another object destination. The expression new Location( 250, 470 ) is a constructor call, it creates and returns a new instance of the class Location with the given coordinates. 11:48 AM Java Basics for AnyLogic 3 of 26 Having defined such class, we can write very simple and readable code when working with the map, like this: Location origin = new Location( 0, 0 ) //create first location Location destination = new Location( 250, 470 ) //create second location double distance = origin.distanceTo( destination ) //calculate distance The locations origin and destination are objects and are instances of the class Location. Block As you can see, a class combines data and methods that work with the data. Variables (local variables and class fields) 5. Java Basics for AnyLogic 1 of 26 Java Basics for AnyLogic Contents 1.
0 Comments
Read More
Leave a Reply. |