Interface CommunitiesWriter<U>

Type Parameters:
U - Type of the users.
All Known Implementing Classes:
TextCommunitiesWriter

public interface CommunitiesWriter<U>
Interface for writing communities to a file.
  • Method Summary

    Modifier and Type Method Description
    boolean write​(Communities<U> comm, java.lang.String file)
    Writes the community structure into a file.
  • Method Details

    • write

      boolean write​(Communities<U> comm, java.lang.String file)
      Writes the community structure into a file.
      Parameters:
      comm - community partition.
      file - route of the file.
      Returns:
      true if everything goes OK, false otherwise.