Skip to content

Commit

Permalink
[pal] Cleanup some doxygen comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 29, 2015
1 parent 277605b commit f305b0b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 29 deletions.
4 changes: 0 additions & 4 deletions src/core/pal/feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,6 @@ namespace pal
}
}


/*
* \brief read coordinates from a GEOS geom
*/
void FeaturePart::extractCoords( const GEOSGeometry* geom )
{
int i, j;
Expand Down
7 changes: 0 additions & 7 deletions src/core/pal/pal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -943,18 +943,11 @@ namespace pal
}
}


/**
* \brief get current map unit
*/
Units Pal::getMapUnit()
{
return map_unit;
}

/**
* \brief set map unit
*/
void Pal::setMapUnit( Units map_unit )
{
if ( map_unit == pal::PIXEL || map_unit == pal::METER
Expand Down
18 changes: 0 additions & 18 deletions src/core/pal/problem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,6 @@ namespace pal
delete[] ok;
}

/**
* \brief Basic initial solution : every feature to -1
*/
void Problem::init_sol_empty()
{
int i;
Expand Down Expand Up @@ -744,9 +741,6 @@ namespace pal
return subPart;
}


/** From SubPart.cpp ***/

double Problem::compute_feature_cost( SubPart *part, int feat_id, int label_id, int *nbOverlap )
{
double cost;
Expand Down Expand Up @@ -1959,10 +1953,6 @@ namespace pal
return retainedChain;
}


/**
* POPMUSIC, chain
*/
double Problem::popmusic_chain( SubPart *part )
{
int i;
Expand Down Expand Up @@ -2114,14 +2104,6 @@ namespace pal
return initial_cost - best_cost;
}




/**
*
* POPMUSIC, Tabu search with chain'
*
*/
double Problem::popmusic_tabu_chain( SubPart *part )
{
int i;
Expand Down
12 changes: 12 additions & 0 deletions src/core/pal/problem.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,23 @@ namespace pal
double compute_feature_cost( SubPart *part, int feat_id, int label_id, int *nbOverlap );
double compute_subsolution_cost( SubPart *part, int *s, int * nbOverlap );

/**
* POPMUSIC, chain
*/
double popmusic_chain( SubPart *part );

double popmusic_tabu( SubPart *part );

/**
*
* POPMUSIC, Tabu search with chain'
*
*/
double popmusic_tabu_chain( SubPart *part );

/**
* \brief Basic initial solution : every feature to -1
*/
void init_sol_empty();
void init_sol_falp();

Expand Down

0 comments on commit f305b0b

Please sign in to comment.