From 99d27fe3337174ee4519851ea1a1de3e293a9f8f Mon Sep 17 00:00:00 2001 From: Serge Stinckwich Date: Tue, 25 Oct 2022 15:05:48 +0800 Subject: [PATCH 1/2] Move PM to v1.0.5 --- src/BaselineOfKendrick/BaselineOfKendrick.class.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BaselineOfKendrick/BaselineOfKendrick.class.st b/src/BaselineOfKendrick/BaselineOfKendrick.class.st index 21d07426..f6e1fbc5 100644 --- a/src/BaselineOfKendrick/BaselineOfKendrick.class.st +++ b/src/BaselineOfKendrick/BaselineOfKendrick.class.st @@ -21,7 +21,7 @@ BaselineOfKendrick >> baseline: spec [ spec baseline: 'PolyMath' with: [ spec - repository: 'github://PolyMathOrg/PolyMath:v1.0.4'; + repository: 'github://PolyMathOrg/PolyMath:v1.0.5'; loads: 'Core' ]; baseline: 'DataFrame' with: [ spec repository: 'github://PolyMathOrg/DataFrame:v2.0' ]. @@ -94,5 +94,5 @@ BaselineOfKendrick >> baseline: spec [ package: 'Kendrick-Examples' with: [ spec requires: #( 'Kendrick-Core' 'Kendrick-DSL' ) ]; package: 'Kendrick2-Automata' - with: [ spec requires: #( 'Kendrick-Core' ) ]. + with: [ spec requires: #( 'Kendrick-Core' ) ] ] From 8b42a4e11ffa0fbe7a9f4f86016f0eb983cee580 Mon Sep 17 00:00:00 2001 From: Serge Stinckwich Date: Tue, 25 Oct 2022 15:06:31 +0800 Subject: [PATCH 2/2] Move K2TGillespieSimulation trait to Kendrick-core, so there is no loading issue --- .../K2TGillespieSimulation.trait.st | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/Kendrick-Core/K2TGillespieSimulation.trait.st diff --git a/src/Kendrick-Core/K2TGillespieSimulation.trait.st b/src/Kendrick-Core/K2TGillespieSimulation.trait.st new file mode 100644 index 00000000..5f3231a6 --- /dev/null +++ b/src/Kendrick-Core/K2TGillespieSimulation.trait.st @@ -0,0 +1,25 @@ +" +Add a trait for Gillespie simulation engine. Models that are simulable by Gillespie engine should use this trait. +" +Trait { + #name : #K2TGillespieSimulation, + #category : #'Kendrick-Core' +} + +{ #category : #accessing } +K2TGillespieSimulation >> executeEventAtRateIndex: aNumber [ + + self explicitRequirement +] + +{ #category : #accessing } +K2TGillespieSimulation >> rates [ + + self explicitRequirement +] + +{ #category : #accessing } +K2TGillespieSimulation >> t: time [ + + self explicitRequirement +]