Add documentation to ExtractionContainer

This commit is contained in:
Patrick Niklaus 2015-04-10 16:10:00 +02:00
parent 3b435d8956
commit d96e90c6f4
2 changed files with 15 additions and 0 deletions

View File

@ -62,6 +62,17 @@ ExtractionContainers::~ExtractionContainers()
way_start_end_id_list.clear();
}
/**
* Processes the collected data and serializes it.
* At this point nodes are still referenced by their OSM id.
*
* - map start-end nodes of ways to ways used int restrictions to compute compressed
* trippe representation
* - filter nodes list to nodes that are referenced by ways
* - merge edges with nodes to include location of start/end points and serialize
*
* FIXME: Each of this step should be an own function for readability.
*/
void ExtractionContainers::PrepareData(const std::string &output_file_name,
const std::string &restrictions_file_name)
{

View File

@ -36,6 +36,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <stxxl/vector>
/**
* Uses external memory containers from stxxl to store all the data that
* is collected by the extractor callbacks.
*/
class ExtractionContainers
{
#ifndef _MSC_VER