Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update test comment * Format * Revert "xd" This reverts commit 556b8a8. * Manually fix residue conflicts… thanks Nicolai * Manually fix residue conflicts… thanks Nicolai * Still fixing * Still fixing * Fix compiler errors * Fix compiler warnings, and format * Fix compiler error * Update some tests, now passig :) * fmt * Refactor * Refactor * Preperation for next sprint * Multiple: - Add id to Edge - Test and implement \`from :: TransitionDecisionPoint -> DecisionPoint\` - Remove common helper function for Simulation testing to file in test dir * started testing * Works now * Implemented take_simulation_steps and refactored some code into simulation_info_to_transition_system helper function * Working on tests for DecisionPoint -> ProtoDecisionPoint * Remove unused code * Fix tests that failed because id was added to edge * Add test from__good_DecisionPoint__returns_good_ProtoDecisionPoint * TransitionDecision_from__Decision__returns_correct_TransitionDecision() 🧪 * No idea why I had to track these files again. * Added another failingfailing test Decision_from__ProtoDecision__returns_correct_Decision() 🧪 * Getting ready to implement * formatted * Start implement from :: (&DecisionPoint, &TransitionSystemPtr) -> ProtoDecisionPoint * Delete decisionpoint_serializer.rs * Working on test for ProtoDecisionPoint * Implementing from ProtoDecision to Decision * Test for ProtoDecisionPoint fixed * Implementation begun on transition_decision_point.rs * Cleanup * Move TransitionDecision to own file * Move Decision to own file * fmt * Update test names * Test pass and working implementation (needs reviewing) * Fix requested changes * Added slight documentation * Fix compile error * Merged main * . * Create federation from proto_decision * . * Fix from :: &Decision, &TransitionSystemPtr -> TransitionDecision * Refactor * Update documentation * Update documentation * ProtoEdge can find specific component * Update proto * Update proto * Fix compiler warning and errors * added component_name field to edge * Refactor from :: (&Decision, &TransitionSystemPrt) -> TransitionDecision * Multithread start_simulation api * Revert "Merge branch 'main' into Simulation" This reverts commit bc9ed6e, reversing changes made to bedb80d. * Change branch * Not building XD * implement find state (maybe?) * Added some implementation to Protoconstraint::from(constraint) * Revert "Revert "Merge branch 'main' into Simulation"" This reverts commit 62552d1. * Fix compiler error * Change from :: &Transition -> [Edge] to return empty [] * Unignore test start_simulation__responds_as_expected * Refactor * Work on from :: (&Constraint, &TransitionSystemPtr) -> ProtoConstraint * Correct Some tests * Fix compiler error * Fix bug in from :: Decision -> TransitionDecision * Encapsulate all Simulation structs * Refactor confusing function * Remove allow dead code * Fix compiler errors * Remove incorrect comment * Update error message * Replace unwrap() with match * Finish from :: &TransitionDecisionPoin -> DecisionPoint * Fix clippy * Do something i dont remeber * Working on ProtoDecision -> Decision, Clocks not working * Implement component_names for trait TransitionSystem * Ignore failing tests * Remove unused test module * I don't even know * Write test for composition * Fix warnings * EOD, test fixed and working on logic * Write tests for composition components * Write tests for composition components * Fix bug, tests still failing it works tho * Move test `start_simulation_step__get_composit_component__should_return_component` - Also fix decision point to order, so same result every time * Write passing tests for conjunction components * Test/Logic working on Decision::from(ProtoDecision) * Working on more tests. my friends! * Refactor and maybe fix bug * Working on tests once again! * Format * Write failing tests for take_simulation_step * Fix warnings and format * Fix warnings and format * Fix compiler warnings * This does not build! Logic * . * Fix bug and ignore tests that hang * Fix test * Fix clippy * Implement non-deterministic choises internally * Update proto * Format * Move stuff that create proto structs to proto_writer * Move stuff that creates stuff from proto objects * Remove unused test mod * Refactor * Fixed take_simulation_step__get_composit_component__should_return_component test Conjunction test is still ignored for now * filter hidden edges * take_simulation_step__get_composit_component__should_return_component for conjunction Also fixed error in previous commit that made some tests fail * Refactor * Create propterbased test B) * Add test * Create test and found bug :( * Refactor * Refactor * Refactor * Fix clippy: * Fix bug where hidden edges would not be filtered * Remove .clone() * Rename variable * Create baller integration test * format * Remove print line from test * Moved Proto_location_tuple_to_location_tuple to ProtoReader * Combine tests under same case * Combine test cases * Move test data to test_data.rs * Move test data from take_simultion_step.rs to test_data.rs * Move test data from start_simulation.rs to test_data.rs * split grpc_helper.rs into test_data.rs and helper.rs * Fix compiler warnings * Format * Move helpers functions from simulation.rs to helper.rs * Refactor and update documentation * Add documentation * Add documentation to handle_take_simulation_step * Update documentation : * Replace match with unwrap * Revert "Replace match with unwrap" This reverts commit 61c4fb8. * Add documentation * Document decision.rs * Document decision_point.rs * Update documentation * Update documentation * Change resolve to return None when use_transition is false * Unignore from_Determinism_NonDeterminismCom__returns_ok * ^ * Unignore and update test and make test module private * Refactor component.rs * Fix clippy * Fix clippy * Update documentation * Update documentation and naming * Update documentation * Refactor and update documentation * Remove unused use * Refactor proto_writer.rs * Document proto_writer.rs * Update uncomment test * Document and refactor proto_reader.rs * more documentation and refactoring * Fix clippy * Refactor * Fix clippy * Refactor and document Decision::resolve * Refactor and document DecisionPoint::initial * Add test for non-convex federation for state_to_proto_state_to_state_is_same_state * Remove commented code * ^ * Refactor proto_decision_to_decision__ProtoDecision_with_universal_ProtoFederation__returns_correct_Decision * proto_decision_to_decision__ProtoDecision_with_nonuniversal_ProtoFederation__returns_correct_Decision * Refactor proto_decision_to_decision__ProtoDecision_with_conjunction_of_components__returns_correct_Decision * Refactor decision_point_to_proto_decision_point__initial_DecisionPoint_EcdarUniversity_Administration_par_Machine_par_Researcher__returns_correct_ProtoDecisionPoint * Refactor decision_point_to_proto_decision_point__initial_DecisionPoint_EcdarUniversity_Machine__returns_correct_ProtoDecisionPoint * Refactor decision_point_to_proto_decision_point__initial_DecisionPoint_EcdarUniversity_Machine_after_tea__returns_correct_ProtoDecisionPoint * Move test * Refactor from__initial_EcdarUniversity_Machine__returns_correct_DecisionPoint * Refactor testing * Refactor test * Add TODO * Make test module private * Refactor * Document decision_point_to_proto_decision_point() * Remove unused dependencie * Add bench for Simulation * Fix clippy * Refactor * Fixed test name to be accurate * Move .sorted() to sort less elements * Refactor proto_location_tuple_to_location_tuple as mentioned in review * Declare constant as const * Create alternative use_transition Co-authored-by: Mightyhaha <74659365+Mightyhaha@users.noreply.github.com> Co-authored-by: Patrick Bertelsen <pberte20@users.noreply.github.com> Co-authored-by: Simon Andersen <smpandersen@gmail.com> Co-authored-by: Mads Balslev <madspbalslev@gmail.com> Co-authored-by: pberte20 <71381584+pberte20@users.noreply.github.com>
- Loading branch information