void function ( ) { DataBase loc0 = new ObjectIODataBase ( ) ; loc0 . setType ( "srini_string" ) ; CodeBookDictionary loc1 = new CodeBookDictionary ( ) ; for ( int loc2 = 0 ; loc2 < centroids . length ; loc2 ++ ) { centroids [ loc2 ] . pts . removeAllElements ( ) ; } loc1 . setDimension ( dimension ) ; loc1 . setCent ( centroids ) ; loc0 . saveModel ( loc1 , null ) ; }
save codebook to cbk object file calls : none called by : train concode_field_sep Points pt[] concode_elem_sep Centroid centroids[] concode_elem_sep int codebook_size concode_elem_sep double SPLIT concode_elem_sep int dimension concode_elem_sep double MIN_DISTORTION concode_field_sep double getDistortion concode_elem_sep double getDistance concode_elem_sep int closestPoint concode_elem_sep void split concode_elem_sep int closestCentroidToPoint concode_elem_sep int closestCentroidToCentroid concode_elem_sep int[] quantize concode_elem_sep void initialize concode_elem_sep void showParameters concode_elem_sep void groupPtoC