How anjolaolubusi/junioris works
JuniorIS is a graphical Max-Min Ant System (MMAS) simulator. The sample workflow configures a start, end, and graph, then runs a window loop where controls start or pause ant exploration, the MMAS controller coordinates path selection and pheromone updates, and the graph and ants are rendered. The implementation is sampled; README documentation is limited to build dependencies and run instructions, so broader capabilities are not assumed.
Main entry points: MMAS.cpp MMAS Controller · GraphMap.cpp Graph & Walkability · Ant.cpp Ant Agents · PheroKey.cpp Edge State
Components 10
Simulator
- Sample Setup
src/main.cpp - MMAS Controller
src/MMAS.cpp - Simulation Controls
src/MMAS.cpp - Graph Rendering
src/MMAS.cpp
Path Search
- Ant Agents
src/Ant.cpp
Graph Model
- Graph & Walkability
src/GraphMap.cpp - Pheromone Updates
src/GraphMap.cpp - Edge State
src/PheroKey.cpp
Other components
- User
- SFML / ImGui
Connections 13
- User → Simulation Controls: operates
- Sample Setup → MMAS Controller: configures and runs
src/main.cpp - MMAS Controller → Simulation Controls: updates
src/MMAS.cpp - MMAS Controller → Ant Agents: moves and resets
src/MMAS.cpp - MMAS Controller → Graph & Walkability: configures graph
src/MMAS.cpp - MMAS Controller → Pheromone Updates: updates paths
src/MMAS.cpp - MMAS Controller → Graph Rendering: renders
src/MMAS.cpp - Simulation Controls → Graph & Walkability: sets parameters
src/MMAS.cpp - Ant Agents → Graph & Walkability: queries edges
src/Ant.cpp - Graph & Walkability → Edge State: stores and updates
src/GraphMap.cpp - Pheromone Updates → Edge State: changes values
src/GraphMap.cpp - Graph Rendering → Ant Agents: draws agents
src/MMAS.cpp - MMAS Controller → SFML / ImGui: uses window and UI
src/MMAS.cpp