src/classify/adaptive.cpp
TEMP_CONFIG_STRUCT *ReadTempConfig(TFile *fp) {
  auto Config = new TEMP_CONFIG_STRUCT;
  fp->FRead(Config, sizeof(TEMP_CONFIG_STRUCT), 1);

  Config->Protos = NewBitVector(Config->ProtoVectorSize * BITSINLONG);
  fp->FRead(Config->Protos, sizeof(uint32_t), Config->ProtoVectorSize);

  return (Config);

}
/*---------------------------------------------------------------------------*/
/**
 * Read a temporary configuration description from file
 * and return a ptr to it.
 *
 * @param fp open file to read temporary config from
 * @return Ptr to new temporary configuration description.
 *
 * @note Globals: none
 */
Read a temporary configuration description from file
and return a ptr to it.

@param fp open file to read temporary config from
@return Ptr to new temporary configuration description.

@note Globals: none
Read a temporary configuration description from file and return a ptr to it . @param fp open file to read temporary config from @return Ptr to new temporary configuration description . @note Globals : none
TEMP_CONFIG_STRUCT *ReadTempConfig(TFile *fp) {
  auto Config = new TEMP_CONFIG_STRUCT;
  fp->FRead(Config, sizeof(TEMP_CONFIG_STRUCT), 1);
  Config->Protos = NewBitVector(Config->ProtoVectorSize * BITSINLONG);
  fp->FRead(Config->Protos, sizeof(uint32_t), Config->ProtoVectorSize);
  return (Config);
}
TEMP_CONFIG_STRUCT * ReadTempConfig ( TFile * fp ) { auto Config = new TEMP_CONFIG_STRUCT ; fp -> FRead ( Config , sizeof ( TEMP_CONFIG_STRUCT ) , 1 ) ; Config -> Protos = NewBitVector ( Config -> ProtoVectorSize * BITSINLONG ) ; fp -> FRead ( Config -> Protos , sizeof ( uint32_t ) , Config -> ProtoVectorSize ) ; return ( Config ) ; }
Read a temporary configuration description from file
 and return a ptr to it.
Read a temporary configuration description from file and return a ptr to it .