bicliqueviz
Class Biclique
java.lang.Object
bicliqueviz.Biclique
public class Biclique
- extends java.lang.Object
With this class you can represent a given biclique in a bipartite graph.
Each biclique instance is represented by an biclique ID an array of
vertex A IDs and an array of vertex B IDs and what type or size biclique
it is (for example k=2,2).
- Author:
- Martin Schwartz
Constructor Summary |
Biclique(int i,
int[] u,
int[] l,
java.lang.String bt)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Biclique
public Biclique(int i,
int[] u,
int[] l,
java.lang.String bt)
- Parameters:
i
- biclique IDu
- array of vertex A IDsl
- array of vertex B IDsbt
- type of biclique (should have the following format: "k=a,b")
getID
public int getID()
- Returns:
- biclique ID
getBicliqueUpper
public int[] getBicliqueUpper()
- Returns:
- array of vertex A IDs
getBicliqueLower
public int[] getBicliqueLower()
- Returns:
- array of vertex B IDs
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object