Code Monkey home page Code Monkey logo

abm_simulator's Introduction

abm_simulator

Simulator for running abstract machine with dual cores implemented by Java

  1. Introduction of System This project is a system as a simulator for running abstract machine with dual cores. Here we will introduce about diagram of the simulator.

1.1. Diagram
image
Figure 1. Diagram of ABM Simulator with dual core.

1.2. Structure of project 1.2.1. ABMSimulator2 This component is implemented by ABMSimulator2 Java class and is used for:

  • Creating Menu Bar and Other UI components including panels and text areas
  • Adding additional component
  • Initializing two cores of simulator

1.2.2. ABMSimulatorCore This component is implemented by ABMSimulatorCore Java class, an inner class of ABMSimulator2 class and is used for:

  • Creating local variables of one ABMSimulator core.
  • Loading content of abm file.
  • Running abm commands and outputting its result. 1.2.3. addActionListener This functions are used to process the actions of user through UI menu button components and are used for :
  • Browsing abm files through File selector.
  • Running the simulator.
  1. User Guide 2.1. How to install environment?
  • Install JDK +1.8
  • Install VSCode
  • Install Java Extension. 2.2. What operating system was used? MacOS/Linux 2.3. How to compile your program? It can be compiled by using VSCode and other tools includes IntelliJ IDE and so on.

2.4. How to run the program?

  • Step1: Open the ABMSimulator2.Java by VSCode and execute the program. image

  • Stem2: After open window, click the “File/Open” menu button.

  • Step 3: Press the “Run” menu button.  image

  1. Test Result Open “test1forP2.abm” and Run then gives the following result: image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.