Skip to content

About

Source code of Optimizing Coverage in a K-Covered and Connected Sensor Network Using Genetic Algorithms paper

Topics

Resources

Stars

14 stars

Watchers

3 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoverageGA 3.3.0

Modular, parallel, and headless-capable Java 25 LTS implementation of Optimizing Coverage in a K-Covered and Connected Sensor Network Using Genetic Algorithms by Yildirim et al. (EC'08).

Project Structure

CoverageGA/
├── pom.xml                        # Maven build & JUnit configuration (Java 25, v3.3.0)
├── CHANGELOG.md                   # Version history
├── resources/                     # Shared XML sensor network problems & DTD
│   ├── sensor.xml
│   ├── sensorler.xml
│   ├── sensorler2.xml
│   └── sensor.dtd
├── src/main/java/cga/
│   ├── Main.java                  # Unified GUI / Headless CLI entry point
│   ├── model/                     # Immutable records & domain models
│   ├── engine/                    # Parallel GeneticAlgorithm, OperatorBenchmark, GridCoverageCalculator
│   ├── operator/                  # Pluggable Selection, Crossover & Mutation strategies
│   ├── io/                        # Secure XML reader/writer & CSV/JSON/Markdown exporters
│   ├── ui/                        # Interactive Swing GUI (CoverageFrame, AreaPanel, BenchmarkDialog, ConvergencePanel)
│   └── cli/                       # Virtual-thread batch parameter-sweep experiment runner
└── src/test/java/cga/             # JUnit unit & integration tests

Build & Run

Prerequisites

  • Java Development Kit (JDK) 25 or higher
  • Apache Maven 3.9+

Using Maven

# Run unit tests, compile, and package into an executable JAR
mvn clean package

# Launch Interactive GUI (or automatically run CLI if no X11/display is available)
java -jar target/coverage-ga-3.3.0.jar

Headless CLI Options

# Run optimization on a specific XML problem and export JSON/CSV results
java -jar target/coverage-ga-3.3.0.jar --cli --file sensorler.xml --k 2 --move 5 --pop 60 --gen 150 --out output

# Run multi-operator benchmark comparison report (CSV + Markdown)
java -jar target/coverage-ga-3.3.0.jar --benchmark --file sensorler.xml --runs 5 --out output

# Run full multi-parameter batch experiment sweep
java -jar target/coverage-ga-3.3.0.jar --sweep

# Show all CLI flags
java -jar target/coverage-ga-3.3.0.jar --help

Citation

K. S. Yildirim, T. E. Kalayci, A. Ugur, Optimizing coverage in a K-covered and connected sensor network using genetic algorithms, In Proc. of the 9th WSEAS Int. Conf. on Evolutionary Computing (EC'08), WSEAS, May 2008, pages 21-26, ISBN: 978-960-6766-58-9.

LICENSE

This project is licensed under the GNU General Public License v3.0.

About

Source code of Optimizing Coverage in a K-Covered and Connected Sensor Network Using Genetic Algorithms paper

Topics

Resources

Stars

14 stars

Watchers

3 watching

Forks

Releases

Used by

Contributors

Languages