<Σ,Succ,S0,G>
- Overview
- While we might at first be tempted to treat this problem such that each agent has to search a path towards the other this will increase our branching factor by an entire degree. Instead of being N where N is the max outgoing paths of any city it will become N2
- So instead we can just find a route from agent α's starting point to agent β's starting point.
- Afterwards we can backtrack (cost/2) + 1 steps and that will give us the path for agent B
- So our formalization will be defined by finding a path from Arad to Vaslui.
- Σ: Our set of possible states is defined by the list of cities in which our agent α could reside
- let X be a set of all cities in the map.
- then Σ={x∈X}
- Succ: Our set of all possible successor transitions is defined by moving accross the paths from one city to the next.
- Let Succ={x∈Σ×Σ}
- A: our set of possible actions is dependant on what paths are available from a certain city.
- If we are in Arad we can move to Zerind, Timisoara, or Sibiu.
- We should only move to nodes we haven't visited yet.
- The structure is (r,d) where r is the source city and d is the destination city.
- Each time we do an action we incur a cost of 1 or increment total steps by 1.
- S0: Our set of starting states is defined by the starting city of agent α, which is Arad.
- Let S0={A}
- G: our set of goal states is defined by the city in which agent β resides, which is vaslui.
- The forward branching factor of our problem is defined by the maximum number of adjacent cities we can have at any state.
- In our case this would be at Bucharest or Sibiu where we have 4 adjacent cities.
- Our Forward Branching factor is 4
- However it is impossible to reach the state where we have 4 cities that have not been explored yet because you have to explore an adjacent state to reach that state.
- Therefore our final forward branching factor is 3
- In our problem we are optimizing for number of steps and are ignoring distance cost completely. All costs will be treated as a value of 1.