package objects; import java.util.Vector; import utilities.*; public class CorrelationNet extends Net { public double[][][] corr; public CorrelationNet(String graph_n, String graph_n2, int agents, int num_deceiver) { super(graph_n, graph_n2, agents, num_deceiver); type = constant.TYPE_CORRELATIONNET; } public CorrelationNet(Net net) { super(net); type = constant.TYPE_CORRELATIONNET; } public void updateNet() { updateCorrelation(); updateNet(corr, constant.threshold); } /* * give more weight to certain values */ public void updateCorrelation () { corr = new double[actors.length][actors.length][actors[0].getTrainValues().length]; //double[][][] data2 = getNewCorrelationData2(data, data) ; //double[][] avrg = getAverage(data2); for (int j=0; j