src/PredFinder/coref/ElfIndividualCoreference.cpp
/**
 * Adds a new member to the collection of clusters, either
 * as a new cluster with one member, or to an existing
 * cluster that is the best match (and still as a new cluster
 * if there's no best match).
 *
 * @param new_member The ElfIndividualClusterMember being added
 * @param incremental Optional, defaults to false; if true, tries
 * to add the member to an existing cluster, otherwise creates
 * a new cluster with just that member.
 *
 * @author nward@bbn.com
 * @date 2010.08.23
 **/
Adds a new member to the collection of clusters, either
as a new cluster with one member, or to an existing
cluster that is the best match (and still as a new cluster
if there's no best match).

@param new_member The ElfIndividualClusterMember being added
@param incremental Optional, defaults to false; if true, tries
to add the member to an existing cluster, otherwise creates
a new cluster with just that member.


Adds a new member to the collection of clusters either as a new cluster with one member or to an existing cluster that is the best match ( and still as a new cluster if there ' s no best match ) . @param new_member The ElfIndividualClusterMember being added @param incremental Optional defaults to false ; if true tries to add the member to an existing cluster otherwise creates a new cluster with just that member .
void ElfIndividualCoreference::add_cluster_member(ElfIndividual_ptr individual, ElfRelationMap relations) {
	ElfIndividualClusterMember_ptr new_member = boost::make_shared<ElfIndividualClusterMember>(_domain_prefix, individual, relations);
	_clusters.insert(boost::make_shared<ElfIndividualCluster>(_domain_prefix, new_member));
}
void ElfIndividualCoreference :: add_cluster_member ( ElfIndividual_ptr individual , ElfRelationMap relations ) { ElfIndividualClusterMember_ptr new_member = boost :: make_shared < ElfIndividualClusterMember > ( _domain_prefix , individual , relations ) ; _clusters . insert ( boost :: make_shared < ElfIndividualCluster > ( _domain_prefix , new_member ) ) ; }
Adds a new member to the collection of clusters, either
 as a new cluster with one member, or to an existing
 cluster that is the best match (and still as a new cluster
 if there's no best match).
Adds a new member to the collection of clusters either as a new cluster with one member or to an existing cluster that is the best match ( and still as a new cluster if there ' s no best match ) .
// Just create a new cluster with one new member and add it to the collection of clusters
