Implemented libagm::AGMModel::removeDanglingEdges()