rwth-acis / REST-OCD-Services

This repository contains the OCD service of WebOCD. In the repository, java based codes of overlapping community detection algorithms (OCDA) can be found.
Apache License 2.0
14 stars 10 forks source link

WCPM crashes on LFR graphs #95

Closed beka-zhvania closed 1 year ago

beka-zhvania commented 1 year ago

WCPM algorithm execution causes NullPointerException on an LFR graph with the default parameters. This only seems to happen on the branches using the graphstream library.

beka-zhvania commented 1 year ago

The issue is not due to WCPM algorithm, as some other algorithms can also crash. Instead, the problem is with the makeUndirected method inside the GraphProcessor class. The problem seems to be caused by simultaneously modifying and iterating over the graph nodes/edges.