src/PredFinder/elf/ElfIndividual.cpp
/**
 * Checks whether another individual is an exact ID match
 * with this one, at all levels. Intended for use when
 * matching individuals for removal as part of ElfInference.
 *
 * @param other ElfIndividual to compare all IDs/URIs with.
 * @return True if all ID/URI members are exactly equal.
 *
 * @author nward@bbn.com
 * @date 2011.09.21
 **/
Checks whether another individual is an exact ID match
with this one, at all levels. Intended for use when
matching individuals for removal as part of ElfInference.




Checks whether another individual is an exact ID match with this one at all levels . Intended for use when matching individuals for removal as part of ElfInference .
bool ElfIndividual::has_equal_ids(const ElfIndividual_ptr other) const {
	return
	(
		_partner_uri == other->_partner_uri &&
		_generated_uri == other->_generated_uri &&
		_is_value == other->_is_value &&
		_value == other->_value &&
		_value_mention_id == other->_value_mention_id &&
		_mention_uid == other->_mention_uid &&
		_entity_id == other->_entity_id &&
		_coref_uri == other->_coref_uri &&
		_xdoc_cluster_id == other->_xdoc_cluster_id &&
		_event_id == other->_event_id &&
		_bound_uri == other->_bound_uri
	);
}
bool ElfIndividual :: has_equal_ids ( const ElfIndividual_ptr other ) const { return ( _partner_uri == other -> _partner_uri && _generated_uri == other -> _generated_uri && _is_value == other -> _is_value && _value == other -> _value && _value_mention_id == other -> _value_mention_id && _mention_uid == other -> _mention_uid && _entity_id == other -> _entity_id && _coref_uri == other -> _coref_uri && _xdoc_cluster_id == other -> _xdoc_cluster_id && _event_id == other -> _event_id && _bound_uri == other -> _bound_uri ) ; }
Checks whether another individual is an exact ID match
 with this one, at all levels.
Checks whether another individual is an exact ID match with this one at all levels .
// Check the various possible IDs for this individual
