Please enable JavaScript.
Coggle requires JavaScript to display documents.
NFA - Coggle Diagram
NFA
PART 1
- Deterministic Finite Automata (DFA):
- Operates in a predetermined and predictable manner.
- Given current state, has a unique next state determined by input.
- Follows a strict, one-to-one mapping between states and inputs.
- No room for choices or randomness.
- Known for simplicity and straightforward design.
- Non-Deterministic Finite Automata (NFA):
- Given current state, may have multiple possible next states.
- Choice of next state may not be uniquely determined.
- Allows for randomness or parallel exploration.
- Symbol 'E' signifies acceptance of an empty string.
PART 2
- Formula for NFA Transition Function (f):
-
-
- Q × E represents combinations of states and inputs.
- 2^Q represents power set of states.
- NFA Acceptance Condition:
- NFA accepts a string if there exists a path from initial state to a final state.
- String must satisfy transitions along that path.
PART 3
- NFA for Language L (Starts with '0'):
-
-
- State B remains unchanged regardless of input.
- Examples: "001" accepted, "101" not accepted.
- Transition from A to B on '1' for final state.
- Accepts strings with at least one '0'.
- Transition from A to B on '10'.
- Accepts strings with the substring '01'.
- Transition from A to B on '1' for final state.