feat: 🎸 simulation

fix dps and add the push and DPS strategy
This commit is contained in:
Julien Calixte
2023-07-26 19:33:12 +02:00
parent 1f49b0f755
commit 4af91102b8
9 changed files with 125 additions and 54 deletions

View File

@@ -21,10 +21,16 @@ const NUMBER_OF_SIMULATION = 1000
</button>
<button
class="button button-outline"
@click="simulationStore.simulate('problem-solving')"
@click="simulationStore.simulate('pull-dps')"
>
simulate pull and problem solving
</button>
<button
class="button button-outline"
@click="simulationStore.simulate('push-dps')"
>
simulate push and problem solving
</button>
</div>
<div class="row">
<button
@@ -42,14 +48,19 @@ const NUMBER_OF_SIMULATION = 1000
<button
class="button button-outline"
@click="
simulationStore.multiSimulation(
NUMBER_OF_SIMULATION,
'problem-solving'
)
simulationStore.multiSimulation(NUMBER_OF_SIMULATION, 'pull-dps')
"
>
simulate {{ NUMBER_OF_SIMULATION }} pull and problem solving
</button>
<button
class="button button-outline"
@click="
simulationStore.multiSimulation(NUMBER_OF_SIMULATION, 'push-dps')
"
>
simulate {{ NUMBER_OF_SIMULATION }} push and problem solving
</button>
<button
class="button button-clear"
@click="simulationStore.clearDashboard()"