src/Generic/relations/HighYield/HYInstanceSet.cpp
// in charge of the _sentenceInfos vector as well as _sentenceInfoToRelations hashmap

in charge of the _sentenceInfos vector as well as _sentenceInfoToRelations hashmap
in charge of the _sentenceInfos vector as well as _sentenceInfoToRelations hashmap
void HYInstanceSet::addSentenceInfo(DTRelSentenceInfo* info) {
	if (contains(info))
		return;
	_sentences.push_back(info);
	if (_sentenceInfoToRelations.find(info) == _sentenceInfoToRelations.end())  
		_sentenceInfoToRelations[info] = vector<HYRelationInstance*>();
}
void HYInstanceSet :: addSentenceInfo ( DTRelSentenceInfo * info ) { if ( contains ( info ) ) return ; _sentences . push_back ( info ) ; if ( _sentenceInfoToRelations . find ( info ) == _sentenceInfoToRelations . end ( ) ) _sentenceInfoToRelations [ info ] = vector < HYRelationInstance * > ( ) ; }
in charge of the _sentenceInfos vector as well as _sentenceInfoToRelations hashmap
in charge of the _sentenceInfos vector as well as _sentenceInfoToRelations hashmap
// should be the case!
