src/PredFinder/elf/ElfRelation.cpp
/**
 * Creates an empty relation with the specified name
 * and store the specified arguments (not a copy).
 *
 * @param name The predicate for this new ElfRelation.
 * @param arguments The ElfRelationArgs to reference
 * in this ElfRelation (which gets a reference to the
 * underlying shared pointers).
 *
 * @author nward@bbn.com
 * @date 2010.10.18
 **/
Creates an empty relation with the specified name
and store the specified arguments (not a copy).

@param name The predicate for this new ElfRelation.
@param arguments The ElfRelationArgs to reference
in this ElfRelation (which gets a reference to the
underlying shared pointers).


Creates an empty relation with the specified name and store the specified arguments ( not a copy ) . @param name The predicate for this new ElfRelation . @param arguments The ElfRelationArgs to reference in this ElfRelation ( which gets a reference to the underlying shared pointers ) .
ElfRelation::ElfRelation(const std::wstring & name, 
						 const std::vector<ElfRelationArg_ptr> & arguments, 
						 const std::wstring & text, EDTOffset start, EDTOffset end, 
						 double confidence, int score_group) 
{
	_name = name;
	_text = text;
	_start = start;
	_end = end;
	BOOST_FOREACH(ElfRelationArg_ptr argument, arguments) {
		insert_argument(argument);
	}
	_confidence = confidence; 
	_score_group = score_group;
}
ElfRelation :: ElfRelation ( const std :: wstring & name , const std :: vector < ElfRelationArg_ptr > & arguments , const std :: wstring & text , EDTOffset start , EDTOffset end , double confidence , int score_group ) { _name = name ; _text = text ; _start = start ; _end = end ; BOOST_FOREACH ( ElfRelationArg_ptr argument , arguments ) { insert_argument ( argument ) ; } _confidence = confidence ; _score_group = score_group ; }
Creates an empty relation with the specified name
 and store the specified arguments (not a copy).
Creates an empty relation with the specified name and store the specified arguments ( not a copy ) .
// Copy the member variables and insert all of the arguments
 // Initialize the confidence
 //-1.0;
