Skip to content

Commit

Permalink
Added probe names
Browse files Browse the repository at this point in the history
  • Loading branch information
olekscode committed Aug 2, 2024
1 parent e56eb29 commit d9a5229
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ECEC-Model/ECECModel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ ECECModel >> islandEnvironment [
{ #category : 'probes' }
ECECModel >> numberOfRestrainedForagers [

<probe>
<probeNamed: 'Number of restrained foragers'>
^ self theRestrainedForagers size
]

{ #category : 'probes' }
ECECModel >> numberOfUnrestrainedForagers [

<probe>
<probeNamed: 'Number of unrestrained foragers'>
^ self theUnrestrainedForagers size
]

Expand Down Expand Up @@ -196,6 +196,6 @@ ECECModel >> theVegetationUnits: anObject [
{ #category : 'probes' }
ECECModel >> totalAmountOfBiomass [

<probe>
<probeNamed: 'Total amount of biomass'>
^ self theVegetationUnits sum: [ :each | each biomass ]
]

0 comments on commit d9a5229

Please sign in to comment.