PenaltyDAG: now decrease weights of both left and right edge of a fuzzy node
[vspell.git] / libvspell / pfs.h
blob6bd053b26100b3206d271e89769bac602f6a9b58
1 #ifndef __PFS_H__ // -*- tab-width: 2 mode: c++ -*-
2 #define __PFS_H__
4 #ifndef __DAG_H__
5 #include "dag.h"
6 #endif
8 /**
9 Priority-First Search.
10 This is the PFS approach to the shortest path problem in graph.
13 class PFS
15 public:
16 // void segment_best(const Lattice &words,Segmentation &seps);
17 void search(const DAG &dag,Path &seps);
20 #endif