src/index/utils.c
// add 'conjunction' to the list of conjunctions whose second conjunct is 'concept'
// (see the note for the function add_to_first_conjunct_of_list above)
add 'conjunction' to the list of conjunctions whose second conjunct is 'concept'
add ' conjunction ' to the list of conjunctions whose second conjunct is ' concept '
void add_to_second_conjunct_of_list(ClassExpression* concept, ClassExpression* conjunction) {
	if (concept->second_conjunct_of == NULL)
		concept->second_conjunct_of = SET_CREATE(DEFAULT_SECOND_CONJUNCT_OF_HASH_SIZE);
	if (SET_ADD(conjunction, concept->second_conjunct_of)) {
		list_add(conjunction, &(concept->second_conjunct_of_list));
	}
}
void add_to_second_conjunct_of_list ( ClassExpression * concept , ClassExpression * conjunction ) { if ( concept -> second_conjunct_of == NULL ) concept -> second_conjunct_of = SET_CREATE ( DEFAULT_SECOND_CONJUNCT_OF_HASH_SIZE ) ; if ( SET_ADD ( conjunction , concept -> second_conjunct_of ) ) { list_add ( conjunction , & ( concept -> second_conjunct_of_list ) ) ; } }
add 'conjunction' to the list of conjunctions whose second conjunct is 'concept'
(see the note for the function add_to_first_conjunct_of_list above)
add ' conjunction ' to the list of conjunctions whose second conjunct is ' concept ' ( see the note for the function add_to_first_conjunct_of_list above )
// create the hash if we are adding it for the first time