brain
Class Graphs

java.lang.Object
  extended by brain.Graphs

public abstract class Graphs
extends java.lang.Object

Graphs


Field Summary
static double[][] gros2GraphAdjacencyMatrix
           
static double[][] grosGraphAdjacencyMatrix
           
static double[][] linkerhandGraphAdjacencyMatrix
           
static double[][] testGraphAdjacencyMatrix
           
static double[][] trivialGraphAdjacencyMatrix
           
 
Constructor Summary
Graphs()
           
 
Method Summary
static double[][] addInhibitoryLinks(double[][] adjacencyMatrix)
           
static double[][] createErdősRényiGraphAdjacencyMatrix(int size, double linkProbability)
           
static double[][] createErdősRényiGraphAdjacencyMatrix(int size, double linkProbability, java.util.Random random)
           
static double[][] getChainGraphAdjacencyMatrix(int n)
           
static double[][] getCircleGraphAdjacencyMatrix(int n)
           
static double[][] getTwoCliqueGraphAdjacencyMatrix(int clique1Size, int clique2Size, int connections)
           
static boolean isSymmetric(java.util.List<java.util.List<java.lang.Double>> matrix)
           
static boolean isSymmsetric(double[][] matrix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

grosGraphAdjacencyMatrix

public static final double[][] grosGraphAdjacencyMatrix

gros2GraphAdjacencyMatrix

public static final double[][] gros2GraphAdjacencyMatrix

testGraphAdjacencyMatrix

public static final double[][] testGraphAdjacencyMatrix

trivialGraphAdjacencyMatrix

public static final double[][] trivialGraphAdjacencyMatrix

linkerhandGraphAdjacencyMatrix

public static final double[][] linkerhandGraphAdjacencyMatrix
Constructor Detail

Graphs

public Graphs()
Method Detail

isSymmsetric

public static boolean isSymmsetric(double[][] matrix)

isSymmetric

public static boolean isSymmetric(java.util.List<java.util.List<java.lang.Double>> matrix)

createErdősRényiGraphAdjacencyMatrix

public static double[][] createErdősRényiGraphAdjacencyMatrix(int size,
                                                              double linkProbability,
                                                              java.util.Random random)

createErdősRényiGraphAdjacencyMatrix

public static double[][] createErdősRényiGraphAdjacencyMatrix(int size,
                                                              double linkProbability)

getChainGraphAdjacencyMatrix

public static double[][] getChainGraphAdjacencyMatrix(int n)

getCircleGraphAdjacencyMatrix

public static double[][] getCircleGraphAdjacencyMatrix(int n)

getTwoCliqueGraphAdjacencyMatrix

public static double[][] getTwoCliqueGraphAdjacencyMatrix(int clique1Size,
                                                          int clique2Size,
                                                          int connections)

addInhibitoryLinks

public static double[][] addInhibitoryLinks(double[][] adjacencyMatrix)