src/NFcore/complex.cpp
/* for binding, we want to merge a new complex, c, with our complex, this */
for binding, we want to merge a new complex, c, with our complex, this
for binding we want to merge a new complex c with our complex this
void Complex::mergeWithList(Complex * c)
{
	this->unsetCanonical();
	c->unsetCanonical();
	c->refactorToNewComplex(this->ID_complex);
	this->complexMembers.splice(complexMembers.end(),c->complexMembers);
	(system->getAllComplexes()).notifyThatComplexIsAvailable(c->getComplexID());
}
void Complex :: mergeWithList ( Complex * c ) { this -> unsetCanonical ( ) ; c -> unsetCanonical ( ) ; c -> refactorToNewComplex ( this -> ID_complex ) ; this -> complexMembers . splice ( complexMembers . end ( ) , c -> complexMembers ) ; ( system -> getAllComplexes ( ) ) . notifyThatComplexIsAvailable ( c -> getComplexID ( ) ) ; }
for binding, we want to merge a new complex, c, with our complex, this
for binding we want to merge a new complex c with our complex this
// turn off canonical flag // move molecules in c to this complex