bicliqueviz
Class Biclique

java.lang.Object
  extended by 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)
           
 
Method Summary
 int[] getBicliqueLower()
           
 int[] getBicliqueUpper()
           
 int getID()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Biclique

public Biclique(int i,
                int[] u,
                int[] l,
                java.lang.String bt)
Parameters:
i - biclique ID
u - array of vertex A IDs
l - array of vertex B IDs
bt - type of biclique (should have the following format: "k=a,b")
Method Detail

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