You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grph-high-performa...@googlegroups.com
I think the isMixed function is not correctly implemented:
/**
* Checks if this graph is mixed or not (i.e. at least two of its edges are
* of different nature)
*
* @return true if this graph is mixed
*/
public boolean isMixed()
{
int numberOfEdges = getEdges().size();
return getNumberOfDirectedHyperEdges() != numberOfEdges || getNumberOfDirectedSimpleEdges() != numberOfEdges
|| getNumberOfUndirectedHyperEdges() != numberOfEdges || getNumberOfUndirectedSimpleEdges() != numberOfEdges;
}
suppose a graph has only undirectedSimple edges. This function then returns true because getNumberOfDirectedHyperEdges() != numberOfEdges.
This function causes getComplementGraph to fail on a simple graph.