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' ) ] ] 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 +]