public class org.apache.commons.math3.ml.neuralnet.MapUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.ml.neuralnet.MapUtils
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/ml/neuralnet/MapUtils;
public static org.apache.commons.math3.ml.neuralnet.Neuron findBest(double[], java.lang.Iterable<org.apache.commons.math3.ml.neuralnet.Neuron>, org.apache.commons.math3.ml.distance.DistanceMeasure);
descriptor: ([DLjava/lang/Iterable;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)Lorg/apache/commons/math3/ml/neuralnet/Neuron;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: ldc Infinity
dstore 4
start local 4 2: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 8
StackMap locals: double[] java.lang.Iterable org.apache.commons.math3.ml.distance.DistanceMeasure org.apache.commons.math3.ml.neuralnet.Neuron double top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.ml.neuralnet.Neuron
astore 6
start local 6 4: aload 2
aload 6
invokevirtual org.apache.commons.math3.ml.neuralnet.Neuron.getFeatures:()[D
aload 0
invokeinterface org.apache.commons.math3.ml.distance.DistanceMeasure.compute:([D[D)D
dstore 8
start local 8 5: dload 8
dload 4
dcmpg
ifge 8
6: dload 8
dstore 4
7: aload 6
astore 3
end local 8 end local 6 8: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 3
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 features [D
0 10 1 neurons Ljava/lang/Iterable<Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;
0 10 2 distance Lorg/apache/commons/math3/ml/distance/DistanceMeasure;
1 10 3 best Lorg/apache/commons/math3/ml/neuralnet/Neuron;
2 10 4 min D
4 8 6 n Lorg/apache/commons/math3/ml/neuralnet/Neuron;
5 8 8 d D
Signature: ([DLjava/lang/Iterable<Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)Lorg/apache/commons/math3/ml/neuralnet/Neuron;
MethodParameters:
Name Flags
features
neurons
distance
public static org.apache.commons.math3.util.Pair<org.apache.commons.math3.ml.neuralnet.Neuron, org.apache.commons.math3.ml.neuralnet.Neuron> findBestAndSecondBest(double[], java.lang.Iterable<org.apache.commons.math3.ml.neuralnet.Neuron>, org.apache.commons.math3.ml.distance.DistanceMeasure);
descriptor: ([DLjava/lang/Iterable;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)Lorg/apache/commons/math3/util/Pair;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 2 0: iconst_2
anewarray org.apache.commons.math3.ml.neuralnet.Neuron
astore 3
start local 3 1: iconst_2
newarray 7
dup
iconst_0
ldc Infinity
dastore
dup
iconst_1
2: ldc Infinity
dastore
3: astore 4
start local 4 4: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 16
StackMap locals: double[] java.lang.Iterable org.apache.commons.math3.ml.distance.DistanceMeasure org.apache.commons.math3.ml.neuralnet.Neuron[] double[] top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.ml.neuralnet.Neuron
astore 5
start local 5 6: aload 2
aload 5
invokevirtual org.apache.commons.math3.ml.neuralnet.Neuron.getFeatures:()[D
aload 0
invokeinterface org.apache.commons.math3.ml.distance.DistanceMeasure.compute:([D[D)D
dstore 7
start local 7 7: dload 7
aload 4
iconst_0
daload
dcmpg
ifge 13
8: aload 4
iconst_1
aload 4
iconst_0
daload
dastore
9: aload 3
iconst_1
aload 3
iconst_0
aaload
aastore
10: aload 4
iconst_0
dload 7
dastore
11: aload 3
iconst_0
aload 5
aastore
12: goto 16
StackMap locals: double[] java.lang.Iterable org.apache.commons.math3.ml.distance.DistanceMeasure org.apache.commons.math3.ml.neuralnet.Neuron[] double[] org.apache.commons.math3.ml.neuralnet.Neuron java.util.Iterator double
StackMap stack:
13: dload 7
aload 4
iconst_1
daload
dcmpg
ifge 16
14: aload 4
iconst_1
dload 7
dastore
15: aload 3
iconst_1
aload 5
aastore
end local 7 end local 5 16: StackMap locals: double[] java.lang.Iterable org.apache.commons.math3.ml.distance.DistanceMeasure org.apache.commons.math3.ml.neuralnet.Neuron[] double[] top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
17: new org.apache.commons.math3.util.Pair
dup
aload 3
iconst_0
aaload
aload 3
iconst_1
aaload
invokespecial org.apache.commons.math3.util.Pair.<init>:(Ljava/lang/Object;Ljava/lang/Object;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 features [D
0 18 1 neurons Ljava/lang/Iterable<Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;
0 18 2 distance Lorg/apache/commons/math3/ml/distance/DistanceMeasure;
1 18 3 best [Lorg/apache/commons/math3/ml/neuralnet/Neuron;
4 18 4 min [D
6 16 5 n Lorg/apache/commons/math3/ml/neuralnet/Neuron;
7 16 7 d D
Signature: ([DLjava/lang/Iterable<Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)Lorg/apache/commons/math3/util/Pair<Lorg/apache/commons/math3/ml/neuralnet/Neuron;Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;
MethodParameters:
Name Flags
features
neurons
distance
public static org.apache.commons.math3.ml.neuralnet.Neuron[] sort(double[], java.lang.Iterable<org.apache.commons.math3.ml.neuralnet.Neuron>, org.apache.commons.math3.ml.distance.DistanceMeasure);
descriptor: ([DLjava/lang/Iterable;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)[Lorg/apache/commons/math3/ml/neuralnet/Neuron;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 1: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 5
goto 5
StackMap locals: double[] java.lang.Iterable org.apache.commons.math3.ml.distance.DistanceMeasure java.util.List top java.util.Iterator
StackMap stack:
2: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.ml.neuralnet.Neuron
astore 4
start local 4 3: aload 2
aload 4
invokevirtual org.apache.commons.math3.ml.neuralnet.Neuron.getFeatures:()[D
aload 0
invokeinterface org.apache.commons.math3.ml.distance.DistanceMeasure.compute:([D[D)D
dstore 6
start local 6 4: aload 3
new org.apache.commons.math3.ml.neuralnet.MapUtils$PairNeuronDouble
dup
aload 4
dload 6
invokespecial org.apache.commons.math3.ml.neuralnet.MapUtils$PairNeuronDouble.<init>:(Lorg/apache/commons/math3/ml/neuralnet/Neuron;D)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 end local 4 5: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: aload 3
getstatic org.apache.commons.math3.ml.neuralnet.MapUtils$PairNeuronDouble.COMPARATOR:Ljava/util/Comparator;
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
7: aload 3
invokeinterface java.util.List.size:()I
istore 4
start local 4 8: iload 4
anewarray org.apache.commons.math3.ml.neuralnet.Neuron
astore 5
start local 5 9: iconst_0
istore 6
start local 6 10: goto 13
11: StackMap locals: double[] java.lang.Iterable org.apache.commons.math3.ml.distance.DistanceMeasure java.util.List int org.apache.commons.math3.ml.neuralnet.Neuron[] int
StackMap stack:
aload 5
iload 6
aload 3
iload 6
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.ml.neuralnet.MapUtils$PairNeuronDouble
invokevirtual org.apache.commons.math3.ml.neuralnet.MapUtils$PairNeuronDouble.getNeuron:()Lorg/apache/commons/math3/ml/neuralnet/Neuron;
aastore
12: iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
iload 4
if_icmplt 11
end local 6 14: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 features [D
0 15 1 neurons Ljava/lang/Iterable<Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;
0 15 2 distance Lorg/apache/commons/math3/ml/distance/DistanceMeasure;
1 15 3 list Ljava/util/List<Lorg/apache/commons/math3/ml/neuralnet/MapUtils$PairNeuronDouble;>;
3 5 4 n Lorg/apache/commons/math3/ml/neuralnet/Neuron;
4 5 6 d D
8 15 4 len I
9 15 5 sorted [Lorg/apache/commons/math3/ml/neuralnet/Neuron;
10 14 6 i I
Signature: ([DLjava/lang/Iterable<Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)[Lorg/apache/commons/math3/ml/neuralnet/Neuron;
MethodParameters:
Name Flags
features
neurons
distance
public static double[][] computeU(org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D, org.apache.commons.math3.ml.distance.DistanceMeasure);
descriptor: (Lorg/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)[[D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=16, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D.getNumberOfRows:()I
istore 2
start local 2 1: aload 0
invokevirtual org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D.getNumberOfColumns:()I
istore 3
start local 3 2: iload 2
iload 3
multianewarray [[D 2
astore 4
start local 4 3: aload 0
invokevirtual org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D.getNetwork:()Lorg/apache/commons/math3/ml/neuralnet/Network;
astore 5
start local 5 4: iconst_0
istore 6
start local 6 5: goto 22
6: StackMap locals: org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D org.apache.commons.math3.ml.distance.DistanceMeasure int int double[][] org.apache.commons.math3.ml.neuralnet.Network int
StackMap stack:
iconst_0
istore 7
start local 7 7: goto 20
8: StackMap locals: int
StackMap stack:
aload 0
iload 6
iload 7
invokevirtual org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D.getNeuron:(II)Lorg/apache/commons/math3/ml/neuralnet/Neuron;
astore 8
start local 8 9: aload 5
aload 8
invokevirtual org.apache.commons.math3.ml.neuralnet.Network.getNeighbours:(Lorg/apache/commons/math3/ml/neuralnet/Neuron;)Ljava/util/Collection;
astore 9
start local 9 10: aload 8
invokevirtual org.apache.commons.math3.ml.neuralnet.Neuron.getFeatures:()[D
astore 10
start local 10 11: dconst_0
dstore 11
start local 11 12: iconst_0
istore 13
start local 13 13: aload 9
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 15
goto 17
StackMap locals: org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D org.apache.commons.math3.ml.distance.DistanceMeasure int int double[][] org.apache.commons.math3.ml.neuralnet.Network int int org.apache.commons.math3.ml.neuralnet.Neuron java.util.Collection double[] double int top java.util.Iterator
StackMap stack:
14: aload 15
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.ml.neuralnet.Neuron
astore 14
start local 14 15: iinc 13 1
16: dload 11
aload 1
aload 10
aload 14
invokevirtual org.apache.commons.math3.ml.neuralnet.Neuron.getFeatures:()[D
invokeinterface org.apache.commons.math3.ml.distance.DistanceMeasure.compute:([D[D)D
dadd
dstore 11
end local 14 17: StackMap locals:
StackMap stack:
aload 15
invokeinterface java.util.Iterator.hasNext:()Z
ifne 14
18: aload 4
iload 6
aaload
iload 7
dload 11
iload 13
i2d
ddiv
dastore
end local 13 end local 11 end local 10 end local 9 end local 8 19: iinc 7 1
StackMap locals: org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D org.apache.commons.math3.ml.distance.DistanceMeasure int int double[][] org.apache.commons.math3.ml.neuralnet.Network int int
StackMap stack:
20: iload 7
iload 3
if_icmplt 8
end local 7 21: iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
iload 2
if_icmplt 6
end local 6 23: aload 4
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 map Lorg/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D;
0 24 1 distance Lorg/apache/commons/math3/ml/distance/DistanceMeasure;
1 24 2 numRows I
2 24 3 numCols I
3 24 4 uMatrix [[D
4 24 5 net Lorg/apache/commons/math3/ml/neuralnet/Network;
5 23 6 i I
7 21 7 j I
9 19 8 neuron Lorg/apache/commons/math3/ml/neuralnet/Neuron;
10 19 9 neighbours Ljava/util/Collection<Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;
11 19 10 features [D
12 19 11 d D
13 19 13 count I
15 17 14 n Lorg/apache/commons/math3/ml/neuralnet/Neuron;
MethodParameters:
Name Flags
map
distance
public static int[][] computeHitHistogram(java.lang.Iterable<double[]>, org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D, org.apache.commons.math3.ml.distance.DistanceMeasure);
descriptor: (Ljava/lang/Iterable;Lorg/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)[[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=12, args_size=3
start local 0 start local 1 start local 2 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 3
start local 3 1: aload 1
invokevirtual org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D.getNetwork:()Lorg/apache/commons/math3/ml/neuralnet/Network;
astore 4
start local 4 2: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 10
StackMap locals: java.lang.Iterable org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D org.apache.commons.math3.ml.distance.DistanceMeasure java.util.HashMap org.apache.commons.math3.ml.neuralnet.Network top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast double[]
astore 5
start local 5 4: aload 5
aload 4
aload 2
invokestatic org.apache.commons.math3.ml.neuralnet.MapUtils.findBest:([DLjava/lang/Iterable;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)Lorg/apache/commons/math3/ml/neuralnet/Neuron;
astore 7
start local 7 5: aload 3
aload 7
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 8
start local 8 6: aload 8
ifnonnull 9
7: aload 3
aload 7
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: goto 10
9: StackMap locals: java.lang.Iterable org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D org.apache.commons.math3.ml.distance.DistanceMeasure java.util.HashMap org.apache.commons.math3.ml.neuralnet.Network double[] java.util.Iterator org.apache.commons.math3.ml.neuralnet.Neuron java.lang.Integer
StackMap stack:
aload 3
aload 7
aload 8
invokevirtual java.lang.Integer.intValue:()I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 8 end local 7 end local 5 10: StackMap locals: java.lang.Iterable org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D org.apache.commons.math3.ml.distance.DistanceMeasure java.util.HashMap org.apache.commons.math3.ml.neuralnet.Network top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
11: aload 1
invokevirtual org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D.getNumberOfRows:()I
istore 5
start local 5 12: aload 1
invokevirtual org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D.getNumberOfColumns:()I
istore 6
start local 6 13: iload 5
iload 6
multianewarray [[I 2
astore 7
start local 7 14: iconst_0
istore 8
start local 8 15: goto 27
16: StackMap locals: java.lang.Iterable org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D org.apache.commons.math3.ml.distance.DistanceMeasure java.util.HashMap org.apache.commons.math3.ml.neuralnet.Network int int int[][] int
StackMap stack:
iconst_0
istore 9
start local 9 17: goto 25
18: StackMap locals: int
StackMap stack:
aload 1
iload 8
iload 9
invokevirtual org.apache.commons.math3.ml.neuralnet.twod.NeuronSquareMesh2D.getNeuron:(II)Lorg/apache/commons/math3/ml/neuralnet/Neuron;
astore 10
start local 10 19: aload 3
aload 10
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 11
start local 11 20: aload 11
ifnonnull 23
21: aload 7
iload 8
aaload
iload 9
iconst_0
iastore
22: goto 24
23: StackMap locals: org.apache.commons.math3.ml.neuralnet.Neuron java.lang.Integer
StackMap stack:
aload 7
iload 8
aaload
iload 9
aload 11
invokevirtual java.lang.Integer.intValue:()I
iastore
end local 11 end local 10 24: StackMap locals:
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
25: iload 9
iload 6
if_icmplt 18
end local 9 26: iinc 8 1
StackMap locals:
StackMap stack:
27: iload 8
iload 5
if_icmplt 16
end local 8 28: aload 7
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 data Ljava/lang/Iterable<[D>;
0 29 1 map Lorg/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D;
0 29 2 distance Lorg/apache/commons/math3/ml/distance/DistanceMeasure;
1 29 3 hit Ljava/util/HashMap<Lorg/apache/commons/math3/ml/neuralnet/Neuron;Ljava/lang/Integer;>;
2 29 4 net Lorg/apache/commons/math3/ml/neuralnet/Network;
4 10 5 f [D
5 10 7 best Lorg/apache/commons/math3/ml/neuralnet/Neuron;
6 10 8 count Ljava/lang/Integer;
12 29 5 numRows I
13 29 6 numCols I
14 29 7 histo [[I
15 28 8 i I
17 26 9 j I
19 24 10 neuron Lorg/apache/commons/math3/ml/neuralnet/Neuron;
20 24 11 count Ljava/lang/Integer;
Signature: (Ljava/lang/Iterable<[D>;Lorg/apache/commons/math3/ml/neuralnet/twod/NeuronSquareMesh2D;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)[[I
MethodParameters:
Name Flags
data
map
distance
public static double computeQuantizationError(java.lang.Iterable<double[]>, java.lang.Iterable<org.apache.commons.math3.ml.neuralnet.Neuron>, org.apache.commons.math3.ml.distance.DistanceMeasure);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: dconst_0
dstore 3
start local 3 1: iconst_0
istore 5
start local 5 2: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 7
goto 6
StackMap locals: java.lang.Iterable java.lang.Iterable org.apache.commons.math3.ml.distance.DistanceMeasure double int top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast double[]
astore 6
start local 6 4: iinc 5 1
5: dload 3
aload 2
aload 6
aload 6
aload 1
aload 2
invokestatic org.apache.commons.math3.ml.neuralnet.MapUtils.findBest:([DLjava/lang/Iterable;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)Lorg/apache/commons/math3/ml/neuralnet/Neuron;
invokevirtual org.apache.commons.math3.ml.neuralnet.Neuron.getFeatures:()[D
invokeinterface org.apache.commons.math3.ml.distance.DistanceMeasure.compute:([D[D)D
dadd
dstore 3
end local 6 6: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iload 5
ifne 9
8: new org.apache.commons.math3.exception.NoDataException
dup
invokespecial org.apache.commons.math3.exception.NoDataException.<init>:()V
athrow
9: StackMap locals: java.lang.Iterable java.lang.Iterable org.apache.commons.math3.ml.distance.DistanceMeasure double int
StackMap stack:
dload 3
iload 5
i2d
ddiv
dreturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 data Ljava/lang/Iterable<[D>;
0 10 1 neurons Ljava/lang/Iterable<Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;
0 10 2 distance Lorg/apache/commons/math3/ml/distance/DistanceMeasure;
1 10 3 d D
2 10 5 count I
4 6 6 f [D
Signature: (Ljava/lang/Iterable<[D>;Ljava/lang/Iterable<Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)D
MethodParameters:
Name Flags
data
neurons
distance
public static double computeTopographicError(java.lang.Iterable<double[]>, org.apache.commons.math3.ml.neuralnet.Network, org.apache.commons.math3.ml.distance.DistanceMeasure);
descriptor: (Ljava/lang/Iterable;Lorg/apache/commons/math3/ml/neuralnet/Network;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 6
goto 8
StackMap locals: java.lang.Iterable org.apache.commons.math3.ml.neuralnet.Network org.apache.commons.math3.ml.distance.DistanceMeasure int int top java.util.Iterator
StackMap stack:
3: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast double[]
astore 5
start local 5 4: iinc 4 1
5: aload 5
aload 1
aload 2
invokestatic org.apache.commons.math3.ml.neuralnet.MapUtils.findBestAndSecondBest:([DLjava/lang/Iterable;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)Lorg/apache/commons/math3/util/Pair;
astore 7
start local 7 6: aload 1
aload 7
invokevirtual org.apache.commons.math3.util.Pair.getFirst:()Ljava/lang/Object;
checkcast org.apache.commons.math3.ml.neuralnet.Neuron
invokevirtual org.apache.commons.math3.ml.neuralnet.Network.getNeighbours:(Lorg/apache/commons/math3/ml/neuralnet/Neuron;)Ljava/util/Collection;
aload 7
invokevirtual org.apache.commons.math3.util.Pair.getSecond:()Ljava/lang/Object;
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifne 8
7: iinc 3 1
end local 7 end local 5 8: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: iload 4
ifne 11
10: new org.apache.commons.math3.exception.NoDataException
dup
invokespecial org.apache.commons.math3.exception.NoDataException.<init>:()V
athrow
11: StackMap locals: java.lang.Iterable org.apache.commons.math3.ml.neuralnet.Network org.apache.commons.math3.ml.distance.DistanceMeasure int int
StackMap stack:
iload 3
i2d
iload 4
i2d
ddiv
dreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 data Ljava/lang/Iterable<[D>;
0 12 1 net Lorg/apache/commons/math3/ml/neuralnet/Network;
0 12 2 distance Lorg/apache/commons/math3/ml/distance/DistanceMeasure;
1 12 3 notAdjacentCount I
2 12 4 count I
4 8 5 f [D
6 8 7 p Lorg/apache/commons/math3/util/Pair<Lorg/apache/commons/math3/ml/neuralnet/Neuron;Lorg/apache/commons/math3/ml/neuralnet/Neuron;>;
Signature: (Ljava/lang/Iterable<[D>;Lorg/apache/commons/math3/ml/neuralnet/Network;Lorg/apache/commons/math3/ml/distance/DistanceMeasure;)D
MethodParameters:
Name Flags
data
net
distance
}
SourceFile: "MapUtils.java"
NestMembers:
org.apache.commons.math3.ml.neuralnet.MapUtils$PairNeuronDouble org.apache.commons.math3.ml.neuralnet.MapUtils$PairNeuronDouble$1
InnerClasses:
private PairNeuronDouble = org.apache.commons.math3.ml.neuralnet.MapUtils$PairNeuronDouble of org.apache.commons.math3.ml.neuralnet.MapUtils