1 #ifndef __SOFTCOUNT_H__ // -*- tab-width: 2 mode: c++ -*-
2 #define __SOFTCOUNT_H__
4 #ifndef __DICTIONARY_H__
5 #include "dictionary.h"
27 #ifndef BOOST_SHARED_PTR_HPP_INCLUDED
28 #include <boost/shared_ptr.hpp>
33 std::ostream
& count_lattice(const Lattice
&words
,std::ostream
&os
,bool first_round
= false);
34 std::ostream
& count_dag(const DAG
&words
,std::ostream
&os
,int id
,bool first_round
= false);
35 void record2(const DAG
&words
,FILE *fp
,int id
);
36 int replay2(FILE *fp_in
,FILE *fp_out
,int id
, bool first_round
= false);
37 std::ostream
& count_dag_fixed(const DAG
&words
,std::ostream
&os
,bool first_round
= false);