[英]Can we apply Viterbi algorithm if there are cycles in a graph?
我正在嘗試解決可以通過BFS和viterbi算法解決的問題。 但是,如果圖中存在循環,則BFS可能會失敗。 所以我的問題是維特比算法循環安全嗎?
只要確保您的圖遵循隱馬爾可夫模型的規則(例如,每個節點的所有出站邊的總和為1),那么是的- 維特比算法可以處理循環圖。
很難說這是否確實是正確的選擇,還是您可以在沒有更多問題上下文的情況下使用經過修改的BFS。
[英]How to Apply Viterbi Algorithm in Python
[英]Can we apply the Bellman-Ford algorithm to an Undirected Graph?
[英]Modification of an algorithm for detecting cycles in a graph
[英]Algorithm for finding minimal cycles in a graph
[英]graph algorithm to detect even cycles
[英]DFS algorithm to detect cycles in graph
[英]Understanding the Viterbi algorithm
[英]Understanding Viterbi Algorithm
[英]Viterbi algorithm in linear time
[英]Best parallel algorithm for detecting cycles in a undirect graph
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.