Creates basic simulation flow.
Adds #Simulation contructors to set simulation's initial conditions. Adds #BikesDistributionStrategy to arrange the amount of bikes in each of the system's stations at the beggining of the simulation.
Creates IBikeDistributionStrategy interface, to be able to swap beteween different strategies implementations.
Simulation contructors recieves an IBikeDistributionStrategy so strategies used to initialize simulation can be swapped. Deleted unused commented code.
Set IBikeDistributionStrategy access atribute to public, so it van be used in Simulation class.
Implements UniformDistribution that distributes the same amount of bikes among all stations. Remainder bikes are distribute one to each station until there are no more.
Implements TPLL FactoriesInterface, and ArriavalsAtSimulationInit TPLL's Factory to generate TPLL timeSpan arrays load all with the same element send as param.
Refactor: reorders params to improve clarity, adds min(TimeSpan[]) method's documentation. BugFix: min() was skipping first element in the array.
Ti and HV is load into the BikeDistributionStrategy when calling to distribute() and not in the constructor, to allow to set a BikeDistributionStrategy for a simulation to avoid having to sending them twice, to both the Simulation constructor and BikeDistributionStrategy constructor. This is also because, HV's value isn't know until the simulation instance is create, so if the HV is set in the distributionStrategy contructor it cannot be instanciate and passed as parameter to the simulacion contructor as HV value wasn't calculate yet.
Adds connectionString to app's setting and retrieves it from Simulation.IA()
App initially displays console to config setting and run simulation, then displays GUI to show results. Creates NativeMethods to handle console through kernel32.dll
Reult's form recieve simultion as param in its contructor to retrieve simulation's results and display graphs.
fix: simulation should execute while T is smaller than Tf (final time).
Adds Log to output current running simulation to console, and DataTypeUtils to group functions related to it.
Adds SQLDAtaBase Project to managane dataBase wharehouse.
Adds fdp function IA, ED, TV and its tables with precomputed values to increase performance. Moves Trips table from dbo schema to EcoBici.
Adds InsertIA SP which precomputes IA values to improve IA fdp performance.
Adds InsertED and InsertTV SPs which precomputes ED and TV values to improve their fdp's performance.
Creates GenerateFDPs SP to precompuete IA, ED and TV Tables. Adds SP to load trips' data from cvs file.
Implements DataWarehouseManager to handle database communication.