void function ( Example arg0 ) { if ( categoryCount . containsKey ( arg0 . cat ) ) { Integer loc0 = categoryCount . get ( arg0 . cat ) ; loc0 ++ ; categoryCount . put ( arg0 . cat , loc0 ) ; } else categoryCount . put ( arg0 . cat , 1 ) ; examples . add ( arg0 ) ; }
adds example to example set concode_field_sep Vector<Example> examples concode_elem_sep HashMap<Category,Integer> categoryCount concode_elem_sep long serialVersionUID concode_field_sep int getExamplesCountWithSpecifiedTestAndResult concode_elem_sep int getExamplesCountWithSpecifiedCategoryTestAndResult concode_elem_sep Vector<Example> getExamples concode_elem_sep double getSetEntropyWithSpecifiedTest concode_elem_sep Vector<Category> getAllCategories concode_elem_sep ExamplesSet getExamplesSubsetForSpecifiedTestAndResult concode_elem_sep void saveToFile concode_elem_sep boolean isMajorityOfOneCategory concode_elem_sep double getSetEntropyWithSpecifiedTestAndResult concode_elem_sep ExamplesSet readFromFile concode_elem_sep int getExamplesCountWithCategory concode_elem_sep Category getMostFrequentCategory concode_elem_sep double[] getAscSortedAttributes