Named parameter for setting heap and cross reference type. It can allocate the heap and the cross reference object if the cross reference's constructor waits for the digraph as parameter and the heap's constructor waits for the cross reference.
#include <lemon/max_cardinality_search.h>