Given below are two statements:
Statement $\text{I}$: A genetic algorithm is a stochastic hill-climbing search in which a large population of states is maintained
Statement $\text{II}$: In nondeterministic environments, agents can apply AND-OR search to generate contingent plans that reach the goal regardless of which outcomes occur during execution.
In the light of the above statements, choose the correct answer from the options given below
- ABoth Statement $\text{I}$ and Statement $\text{II}$ are true
- BBoth Statement $\text{I}$ and Statement $\text{II}$ are false
- CStatement $\text{I}$ is correct but Statement $\text{II}$ is false
- DStatement $\text{I}$ is incorrect but Statement $\text{II}$ is true