src/PredFinder/inference/ElfInference.cpp
/**
 * This constructor must be called before any other ElfInference method is used. A run-time check
 * (throw_if_ei_not_initialized()) called by all public methods other than the constructor enforces this. 
 * @param failed_xdoc_path Path to a failed xdoc file; in practice, the caller determines this path by 
 * reading the "failed_xdoc" parameter from a param file (sample value: "problematic_cluster_output.txt").
 **/
This constructor must be called before any other ElfInference method is used. A run-time check
(throw_if_ei_not_initialized()) called by all public methods other than the constructor enforces this.
@param failed_xdoc_path Path to a failed xdoc file; in practice, the caller determines this path by
reading the "failed_xdoc" parameter from a param file (sample value: "problematic_cluster_output.txt").
This constructor must be called before any other ElfInference method is used . A run - time check ( throw_if_ei_not_initialized () ) called by all public methods other than the constructor enforces this . @param failed_xdoc_path Path to a failed xdoc file ; in practice the caller determines this path by reading the " failed_xdoc " parameter from a param file ( sample value : " problematic_cluster_output . txt " ) .
ElfInference::ElfInference(std::string filter_ordering_file, std::vector<std::string> superfilters, const std::string& failed_xdoc_path) {
	Guesser::initialize();
	EITbdAdapter::init(); 
	EIUtils::init(failed_xdoc_path);
	if (filter_ordering_file.size() > 0)
		initializeFilters(filter_ordering_file,superfilters);
	_initialized = true;
}
ElfInference :: ElfInference ( std :: string filter_ordering_file , std :: vector < std :: string > superfilters , const std :: string & failed_xdoc_path ) { Guesser :: initialize ( ) ; EITbdAdapter :: init ( ) ; EIUtils :: init ( failed_xdoc_path ) ; if ( filter_ordering_file . size ( ) > 0 ) initializeFilters ( filter_ordering_file , superfilters ) ; _initialized = true ; }
This constructor must be called before any other ElfInference method is used.
This constructor must be called before any other ElfInference method is used .
// if it has already been called during pattern validation, no problem
 //EIFilter::init();
