test_class.file: tool/group/src/test/java/org/openscience/cdk/group/AbstractDiscretePartitionRefinerTest.java
test_class.identifier: AbstractDiscretePartitionRefinerTest
test_class.superclass: extends CDKTestCase
test_case.body: @Test
      public void getHalfMatrixStringTest() {
          int n = 3;
          Graph g = new Graph(n);
          g.connectionTable = new int[][]{{0, 1, 1}, {1, 0, 0}, {1, 0, 0}};
          MockRefiner refiner = new MockRefiner(g);
          String hms = refiner.getHalfMatrixString();
          String expected = "110";
          Assert.assertEquals(expected, hms);
      }
test_case.class_method_signature: AbstractDiscretePartitionRefinerTest.getHalfMatrixStringTest()
test_case.full_signature: @Test public void getHalfMatrixStringTest()
test_case.identifier: getHalfMatrixStringTest
test_case.invocations: getHalfMatrixString assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getHalfMatrixStringTest()
focal_class.declarator: bestExist
focal_class.modifier: private
focal_class.original_string: private boolean                    bestExist;
focal_class.type: boolean
focal_class.var_name: bestExist
focal_class.declarator: best
focal_class.modifier: private
focal_class.original_string: private Permutation                best;
focal_class.type: Permutation
focal_class.var_name: best
focal_class.declarator: first
focal_class.modifier: private
focal_class.original_string: private Permutation                first;
focal_class.type: Permutation
focal_class.var_name: first
focal_class.declarator: equitableRefiner
focal_class.modifier: private
focal_class.original_string: private EquitablePartitionRefiner equitableRefiner;
focal_class.type: EquitablePartitionRefiner
focal_class.var_name: equitableRefiner
focal_class.declarator: group
focal_class.modifier: private
focal_class.original_string: private PermutationGroup           group;
focal_class.type: PermutationGroup
focal_class.var_name: group
focal_class.file: tool/group/src/main/java/org/openscience/cdk/group/AbstractDiscretePartitionRefiner.java
focal_class.identifier: AbstractDiscretePartitionRefiner
focal_class.interfaces: implements DiscretePartitionRefiner
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.AbstractDiscretePartitionRefiner()
focal_class.full_signature: public  AbstractDiscretePartitionRefiner()
focal_class.identifier: AbstractDiscretePartitionRefiner
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  AbstractDiscretePartitionRefiner()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.getVertexCount()
focal_class.full_signature: protected abstract int getVertexCount()
focal_class.identifier: getVertexCount
focal_class.modifiers: protected abstract
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getVertexCount()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.getConnectivity(int vertexI, int vertexJ)
focal_class.full_signature: protected abstract int getConnectivity(int vertexI, int vertexJ)
focal_class.identifier: getConnectivity
focal_class.modifiers: protected abstract
focal_class.parameters: (int vertexI, int vertexJ)
focal_class.return: int
focal_class.signature: int getConnectivity(int vertexI, int vertexJ)
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.setup(PermutationGroup group, EquitablePartitionRefiner refiner)
focal_class.full_signature: public void setup(PermutationGroup group, EquitablePartitionRefiner refiner)
focal_class.identifier: setup
focal_class.modifiers: public
focal_class.parameters: (PermutationGroup group, EquitablePartitionRefiner refiner)
focal_class.return: void
focal_class.signature: void setup(PermutationGroup group, EquitablePartitionRefiner refiner)
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.firstIsIdentity()
focal_class.full_signature: public boolean firstIsIdentity()
focal_class.identifier: firstIsIdentity
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean firstIsIdentity()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.getAutomorphismPartition()
focal_class.full_signature: public Partition getAutomorphismPartition()
focal_class.identifier: getAutomorphismPartition
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Partition
focal_class.signature: Partition getAutomorphismPartition()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.getHalfMatrixString(Permutation permutation)
focal_class.full_signature: private String getHalfMatrixString(Permutation permutation)
focal_class.identifier: getHalfMatrixString
focal_class.modifiers: private
focal_class.parameters: (Permutation permutation)
focal_class.return: String
focal_class.signature: String getHalfMatrixString(Permutation permutation)
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.getFirstHalfMatrixString()
focal_class.full_signature: public String getFirstHalfMatrixString()
focal_class.identifier: getFirstHalfMatrixString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getFirstHalfMatrixString()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.getHalfMatrixString()
focal_class.full_signature: public String getHalfMatrixString()
focal_class.identifier: getHalfMatrixString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getHalfMatrixString()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.getAutomorphismGroup()
focal_class.full_signature: public PermutationGroup getAutomorphismGroup()
focal_class.identifier: getAutomorphismGroup
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: PermutationGroup
focal_class.signature: PermutationGroup getAutomorphismGroup()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.getBest()
focal_class.full_signature: public Permutation getBest()
focal_class.identifier: getBest
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Permutation
focal_class.signature: Permutation getBest()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.getFirst()
focal_class.full_signature: public Permutation getFirst()
focal_class.identifier: getFirst
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Permutation
focal_class.signature: Permutation getFirst()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.isCanonical()
focal_class.full_signature: public boolean isCanonical()
focal_class.identifier: isCanonical
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isCanonical()
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.refine(Partition partition)
focal_class.full_signature: public void refine(Partition partition)
focal_class.identifier: refine
focal_class.modifiers: public
focal_class.parameters: (Partition partition)
focal_class.return: void
focal_class.signature: void refine(Partition partition)
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.refine(PermutationGroup group, Partition coarser)
focal_class.full_signature: private void refine(PermutationGroup group, Partition coarser)
focal_class.identifier: refine
focal_class.modifiers: private
focal_class.parameters: (PermutationGroup group, Partition coarser)
focal_class.return: void
focal_class.signature: void refine(PermutationGroup group, Partition coarser)
focal_class.class_method_signature: AbstractDiscretePartitionRefiner.compareRowwise(Permutation perm)
focal_class.full_signature: private Result compareRowwise(Permutation perm)
focal_class.identifier: compareRowwise
focal_class.modifiers: private
focal_class.parameters: (Permutation perm)
focal_class.return: Result
focal_class.signature: Result compareRowwise(Permutation perm)
focal_method.body: private String getHalfMatrixString(Permutation permutation) {
          StringBuilder builder = new StringBuilder(permutation.size());
          int size = permutation.size();
          for (int indexI = 0; indexI < size - 1; indexI++) {
              for (int indexJ = indexI + 1; indexJ < size; indexJ++) {
                  builder.append(getConnectivity(permutation.get(indexI), permutation.get(indexJ)));
              }
          }
          return builder.toString();
      }
focal_method.class_method_signature: AbstractDiscretePartitionRefiner.getHalfMatrixString(Permutation permutation)
focal_method.full_signature: private String getHalfMatrixString(Permutation permutation)
focal_method.identifier: getHalfMatrixString
focal_method.invocations: size size append getConnectivity get get toString
focal_method.modifiers: private
focal_method.parameters: (Permutation permutation)
focal_method.return: String
focal_method.signature: String getHalfMatrixString(Permutation permutation)