📜  后向链与前向链之间的差异

📅  最后修改于: 2020-09-23 09:55:23             🧑  作者: Mango

后向链接与前向链接之间的区别

以下是正向链接和反向链接之间的区别:

  • 顾名思义,前向链接从已知事实开始,然后通过应用推理规则来提取更多数据,然后继续前进直到到达目标为止;而后向链接从目标开始,通过使用推理规则确定后退链接满足目标的事实。
  • 前向链接称为数据驱动的推理技术,而后向链接称为目标驱动的推理技术。
  • 向链接被称为向下向上的方法,而反向链接被称为一个顶向下的方法。
  • 前向链接使用广度优先搜索策略,而后向链接使用深度优先搜索策略。
  • 向前和向后链接都应用Modus ponens推理规则。
  • 前向链接可用于计划,设计过程监视,诊断和分类等任务 ,而后向链接可用于分类和诊断任务
  • 前向链接可能像穷举搜索,而后向链接则试图避免不必要的推理。
  • 在前向链接中,知识库中可能有各种ASK问题,而在后向链接中,则可能会有更少的ASK问题。
  • 正向链接会检查所有规则,因此速度较慢,而正向链接则仅检查一些必需的规则,因此速度较快。
S. No. Forward Chaining Backward Chaining
1. Forward chaining starts from known facts and applies inference rule to extract more data unit it reaches to the goal. Backward chaining starts from the goal and works backward through inference rules to find the required facts that support the goal.
2. It is a bottom-up approach It is a top-down approach
3. Forward chaining is known as data-driven inference technique as we reach to the goal using the available data. Backward chaining is known as goal-driven technique as we start from the goal and divide into sub-goal to extract the facts.
4. Forward chaining reasoning applies a breadth-first search strategy. Backward chaining reasoning applies a depth-first search strategy.
5. Forward chaining tests for all the available rules Backward chaining only tests for few required rules.
6. Forward chaining is suitable for the planning, monitoring, control, and interpretation application. Backward chaining is suitable for diagnostic, prescription, and debugging application.
7. Forward chaining can generate an infinite number of possible conclusions. Backward chaining generates a finite number of possible conclusions.
8. It operates in the forward direction. It operates in the backward direction.
9. Forward chaining is aimed for any conclusion. Backward chaining is only aimed for the required data.