Skip to main content

A package for research into power domination and variations

Project description

PowerDominationToolbox

CoCalc/Sage Integration

To maintain compatability with SageMath and the Minimum Rank Sage Library, the following commands will load this library:

URL = 'https://raw.githubusercontent.com/JibJibFlutterhousen/PowerDominationToolbox/main/PowerDominationToolbox.py'
load(URL)

For importing this library from witin CoCalc with a free account you must do the following because CoCalc does not allow an outside internet connection with a free account.

  1. Download this code as a zip file.
  2. Extract the zip file on your local machine.
  3. Go to your project in CoCalc and upload the file "PowerDominationToolbox.py".
  4. Execute the following command in your sage worksheet.
load("PowerDominationToolbox.py")

Using the Power Domination Toolbox

The PDT offers functions for:

  1. Zero forcing, ZeroForce,
  2. Domination, Dominate,
  3. Power domination, PowerDominate,
  4. Determining if a set is a power dominating set, isPDS,
  5. Locating a minimum power dominating set, minpds,
  6. Calculating the power domination number of a graph, pdn, and
  7. Locating all minimum power dominating sets, allminpds.

Datasets

The provided graph datasets are encoded in graph6 format. For information on this graph format, please see http://users.cecs.anu.edu.au/~bdm/data/formats.txt. Dataset_1.g6 contains 600, connected, Erdos-Renyi random graphs (100 each on 20, 40, 60, 80, 100, and 120 vertices) with edge probability of 0.05. Dataset_2.g6 contains 665, connected, Erdos-Renyi random graphs on 80 vertices with edge probability of 0.05.

Funding

This project was sponsored, in part, by the Air Force Research Laboratory via the Autonomy Technology Research Center and Wright State University. This research was also supported by Air Force Office of Scientific Research award 23RYCOR004, and is Distribution A under the reference number APRS-RYA-2023-05-00002.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

powerdominationtoolbox-1.2.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

powerdominationtoolbox-1.2-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file powerdominationtoolbox-1.2.tar.gz.

File metadata

  • Download URL: powerdominationtoolbox-1.2.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for powerdominationtoolbox-1.2.tar.gz
Algorithm Hash digest
SHA256 1a38ba3a3d24b227db354bf502db56630edbe495407af78d067bacc42e6b6cb3
MD5 eb54707360802cb641bfeb52f2689c33
BLAKE2b-256 0b494ac62964f0934f6c5b7d78e03d6c205215f440a48a3a55b5fad4bc9e997a

See more details on using hashes here.

File details

Details for the file powerdominationtoolbox-1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for powerdominationtoolbox-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 05bf5e1bef9ac3a69f1f7ddeeb20ac63325cfa2949d334617cf339c1d2727942
MD5 8aa8a66bace4ff171f46431eb8bf12d1
BLAKE2b-256 4b3fcf14e271ccb7a76bdb6239d005fead26af68ca2ccf5d44f32f9982b19ed6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page