test_class.file: ml/streaminer/src/test/java/org/streaminer/stream/cardinality/TestLinearCounting.java
test_class.identifier: TestLinearCounting
test_case.body: @Test
      public void testArbitraryStdErrorSize()
      {
          // Some sanity check with 1% error
          assertEquals(630, Builder.withError(0.01, 100).sizeof());
          assertEquals(759, Builder.withError(0.01, 3375).sizeof());
  
          // Checking for 10% error (values from original paper)
          assertEquals(10, Builder.withError(0.1, 100).sizeof());
          assertEquals(34, Builder.withError(0.1, 1000).sizeof());
          assertEquals(214, Builder.withError(0.1, 10000).sizeof());
          assertEquals(1593, Builder.withError(0.1, 100000).sizeof());
          assertEquals(12610, Builder.withError(0.1, 1000000).sizeof());
          assertEquals(103977, Builder.withError(0.1, 10000000).sizeof());
          assertEquals(882720, Builder.withError(0.1, 100000000).sizeof());
      }
test_case.class_method_signature: TestLinearCounting.testArbitraryStdErrorSize()
test_case.full_signature: @Test public void testArbitraryStdErrorSize()
test_case.identifier: testArbitraryStdErrorSize
test_case.invocations: assertEquals sizeof withError assertEquals sizeof withError assertEquals sizeof withError assertEquals sizeof withError assertEquals sizeof withError assertEquals sizeof withError assertEquals sizeof withError assertEquals sizeof withError assertEquals sizeof withError
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testArbitraryStdErrorSize()
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: @Override
      public int sizeof()
      {
          return map.length;
      }
focal_method.class_method_signature: LinearCounting.sizeof()
focal_method.full_signature: @Override public int sizeof()
focal_method.identifier: sizeof
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: int
focal_method.signature: int sizeof()