-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
refactorRefactoring code and making it work betterRefactoring code and making it work better
Milestone
Description
Separate into TransitionFn & OutputFn
DFSM has noop OutputFn
Handle returns still StateMachine
const void = createVoidMachine('A',
[
['A', '1', 'B'],
['A', '2', 'B'],
['B', '1', 'A'],
['B', '2', 'A'],
]
);
const mealy = createMealy('A',
[
['A', '1', 'B', '0'],
['A', '2', 'B', '1'],
['B', '1', 'A', '1'],
['B', '2', 'A', '2'],
]
);
const moore = createMoore('A',
[
['A', '1', 'B'],
['A', '2', 'B'],
['B', '1', 'A'],
['B', '2', 'A'],
],
{ 'A': 1, 'B': 0 }
);
Metadata
Metadata
Assignees
Labels
refactorRefactoring code and making it work betterRefactoring code and making it work better