Skip to content

Commit

Permalink
Added Zinc Simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikWlbrs committed Nov 6, 2023
1 parent adde287 commit 8532207
Show file tree
Hide file tree
Showing 3 changed files with 625 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Pharo/OpenPonk-MarkovChains/OPMcRecognizer.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ OPMcRecognizer >> decrementGCInclZero [

]

{ #category : #accessing }
OPMcRecognizer >> globalCounter [
^ globalCounter
]

{ #category : #'as yet unclassified' }
OPMcRecognizer >> goTo: aPlace [
current ifNotNil: [ self announce: (OPMcRecognizerLeave place: current) ].
Expand Down Expand Up @@ -214,6 +219,11 @@ OPMcRecognizer >> inputPositionExclNil [
^ globalCounter + 1
]

{ #category : #'accessing - Action' }
OPMcRecognizer >> inputs [
^ input
]

{ #category : #'as yet unclassified' }
OPMcRecognizer >> isInputEmpty [
^ current isState & input isEmpty
Expand Down

0 comments on commit 8532207

Please sign in to comment.