Skip to content

dyna-mis/labeling-instance-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

InputGenerator

Generating labeling instances as a set of 2D points in a bounded plane.
Format (like DIMACS FORMAT)
Files are assumed to be well-formed and internally consistent: coordinates are valid (inside the plane range), points are defined uniquely (different pairs of coordinates).

Comment line:

Comment lines give human-readable information about the file and are ignored by programs.
Comment lines can appear at beginning in the file.
Each comment line begins with a lower-case character c.
c This is an example of a comment line.

Problem line:

There is one problem line per input file. The problem line must appear before any descriptor lines. The problem line has the following format.
The lower-case character p signifies that this is the problem line. The FORMAT field is for specifiying different Categories, and should contain the word "UNWEIGHTED", "WEIGHTED" and so on. The field number_of_nodes should be consitently egal to the number of Descriptor lines.
p FORMAT number_of_nodes plane_width plane_height

Descriptor line:

There is one descriptor line for each point element, each with the following format. Each point (x,y) of weight w appears exactly once in the input file.
The lower-case character e signifies that this is an element descriptor line.
e x y w

About

benchmark generator for point-feature map labeling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published