ADA Unit 2
ADA Unit 2
Stages
The given problem can be divided into a number of subproblems which are
called stages. A stage is a small portion of given problem.
States
This indicates the subproblem for which the decision has to be taken. The
variables which are used for taking a decision at every stage that is called as a
state variable.
Decision
At every stage, there can be multiple decisions out of which one of the best
decisions should be taken. The decision taken at each stage should be optimal;
this is called as a stage decision.
Optimal policy
It is a rule which determines the decision at each and every stage; a policy is
called an optimal policy if it is globally optimal. This is called as Bellman
principle of optimality.
There are two main properties of a problem that
suggest that the given problem can be solved
using Dynamic programming:
1) Overlapping Subproblems
2) Optimal Substructure
Overlapping Subproblems