test_class.file: ml/streaminer/src/test/java/org/streaminer/stream/cardinality/TestLinearCounting.java
test_class.identifier: TestLinearCounting
test_case.body: @Test
      public void testComputeCount()
      {
          LinearCounting lc = new LinearCounting(4);
          lc.offer(0);
          lc.offer(1);
          lc.offer(2);
          lc.offer(3);
          lc.offer(16);
          lc.offer(17);
          lc.offer(18);
          lc.offer(19);
          assertEquals(27, lc.computeCount());
      }
test_case.class_method_signature: TestLinearCounting.testComputeCount()
test_case.full_signature: @Test public void testComputeCount()
test_case.identifier: testComputeCount
test_case.invocations: offer offer offer offer offer offer offer offer assertEquals computeCount
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testComputeCount()
focal_class.declarator: map
focal_class.modifier: protected
focal_class.original_string: protected byte[] map;
focal_class.type: byte[]
focal_class.var_name: map
focal_class.declarator: length
focal_class.modifier: protected final
focal_class.original_string: protected final int length;
focal_class.type: int
focal_class.var_name: length
focal_class.declarator: count
focal_class.modifier: protected
focal_class.original_string: protected int count;
focal_class.type: int
focal_class.var_name: count
focal_class.file: ml/streaminer/src/main/java/org/streaminer/stream/cardinality/LinearCounting.java
focal_class.identifier: LinearCounting
focal_class.interfaces: implements IRichCardinality
focal_class.class_method_signature: LinearCounting.LinearCounting(int size)
focal_class.full_signature: public  LinearCounting(int size)
focal_class.identifier: LinearCounting
focal_class.modifiers: public
focal_class.parameters: (int size)
focal_class.signature:  LinearCounting(int size)
focal_class.class_method_signature: LinearCounting.LinearCounting(byte[] map)
focal_class.full_signature: public  LinearCounting(byte[] map)
focal_class.identifier: LinearCounting
focal_class.modifiers: public
focal_class.parameters: (byte[] map)
focal_class.signature:  LinearCounting(byte[] map)
focal_class.class_method_signature: LinearCounting.cardinality()
focal_class.full_signature: @Override public long cardinality()
focal_class.identifier: cardinality
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long cardinality()
focal_class.class_method_signature: LinearCounting.getBytes()
focal_class.full_signature: @Override public byte[] getBytes()
focal_class.identifier: getBytes
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: byte[]
focal_class.signature: byte[] getBytes()
focal_class.class_method_signature: LinearCounting.offerHashed(long hashedLong)
focal_class.full_signature: @Override public boolean offerHashed(long hashedLong)
focal_class.identifier: offerHashed
focal_class.modifiers: @Override public
focal_class.parameters: (long hashedLong)
focal_class.return: boolean
focal_class.signature: boolean offerHashed(long hashedLong)
focal_class.class_method_signature: LinearCounting.offerHashed(int hashedInt)
focal_class.full_signature: @Override public boolean offerHashed(int hashedInt)
focal_class.identifier: offerHashed
focal_class.modifiers: @Override public
focal_class.parameters: (int hashedInt)
focal_class.return: boolean
focal_class.signature: boolean offerHashed(int hashedInt)
focal_class.class_method_signature: LinearCounting.offer(Object o)
focal_class.full_signature: @Override public boolean offer(Object o)
focal_class.identifier: offer
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean offer(Object o)
focal_class.class_method_signature: LinearCounting.sizeof()
focal_class.full_signature: @Override public int sizeof()
focal_class.identifier: sizeof
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int sizeof()
focal_class.class_method_signature: LinearCounting.computeCount()
focal_class.full_signature: public int computeCount()
focal_class.identifier: computeCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int computeCount()
focal_class.class_method_signature: LinearCounting.getUtilization()
focal_class.full_signature: public double getUtilization()
focal_class.identifier: getUtilization
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: double
focal_class.signature: double getUtilization()
focal_class.class_method_signature: LinearCounting.getCount()
focal_class.full_signature: public int getCount()
focal_class.identifier: getCount
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getCount()
focal_class.class_method_signature: LinearCounting.isSaturated()
focal_class.full_signature: public boolean isSaturated()
focal_class.identifier: isSaturated
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSaturated()
focal_class.class_method_signature: LinearCounting.mapAsBitString()
focal_class.full_signature: protected String mapAsBitString()
focal_class.identifier: mapAsBitString
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String mapAsBitString()
focal_class.class_method_signature: LinearCounting.merge(IRichCardinality... estimators)
focal_class.full_signature: @Override public IRichCardinality merge(IRichCardinality... estimators)
focal_class.identifier: merge
focal_class.modifiers: @Override public
focal_class.parameters: (IRichCardinality... estimators)
focal_class.return: IRichCardinality
focal_class.signature: IRichCardinality merge(IRichCardinality... estimators)
focal_class.class_method_signature: LinearCounting.mergeEstimators(LinearCounting... estimators)
focal_class.full_signature: public static LinearCounting mergeEstimators(LinearCounting... estimators)
focal_class.identifier: mergeEstimators
focal_class.modifiers: public static
focal_class.parameters: (LinearCounting... estimators)
focal_class.return: LinearCounting
focal_class.signature: LinearCounting mergeEstimators(LinearCounting... estimators)
focal_method.body: public int computeCount()
      {
          int c = 0;
          for (byte b : map)
          {
              c += Integer.bitCount(b & 0xFF);
          }
  
          return length - c;
      }
focal_method.class_method_signature: LinearCounting.computeCount()
focal_method.full_signature: public int computeCount()
focal_method.identifier: computeCount
focal_method.invocations: bitCount
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int computeCount()