You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web-App includes representation for SFG and calculations for:
Overall Transfer Function.
Individual Loops.
Forward Paths.
Non-touching Loops.
Deltas.
Setup
First of all: you must install the Front-End folder which contains angular project, using npm install just because node modules may be missing.
Secondly: Spring Boot folder is straight forward just open the pom file using any IDE.
Thirdly: you run the Angular project and on localhost:4200 and the Spring Boot project on localhost:8080.
Design Decisions
Apply the MVC architecture in the design, as we have a model for the data, which we received from the clients,
a controller to manage all the business logic and data manipulation and a view represented in the front end(Angular) to show the data after performing any kind of operations on it to the clients.
Source and Sink Nodes were predetermined.
Main Modules
Node:
It contains all information about each node in the back, creating new ones and gets the neighbors of the node.
Network Analyser:
It determines and returns the forward paths, loops, non-touching loops, deltas and overall TF of the system.
Network Optimizer:
It converts the recieved hashMap of strings to list of Node objects and optimize the edges.
Machine:
It collects information about each node in the front, its order, color and position.
Sample Runs
First Network:
First Result:
Second Network:
Second Result:
About
Web-App includes representation for SFG and calculating the overall transfer function