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/src/powerdominationtoolbox/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. JL-BW, brute force, method for locating a minimum power dominating set, JLBW_minpds,
  6. Brute force, method for locating a minimum power dominating set by way of solving the restricted power domination problem on $G'$ subject to Pref $(G')$, PDT_minpds,
  7. Calculating the power domination number of a graph, PDT_pdn, and
  8. Locating all power dominating sets of a given size while leveraging parallel computing methods, parallel_allpds_of_size.

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 AFRL-2023-2384 and AFRL-2024-1739.

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-2.5.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

powerdominationtoolbox-2.5-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: powerdominationtoolbox-2.5.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for powerdominationtoolbox-2.5.tar.gz
Algorithm Hash digest
SHA256 5a7158701e14d08d71c7f45b65599049544adc1ef230d0a420b59281733da102
MD5 5afccf669f168f0ac37c4acfb563fe90
BLAKE2b-256 0c5bf2505c0bd848697539d529af21a0628df403198a4d1dadb2cefeb3722204

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for powerdominationtoolbox-2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 30dec5b8dcdfae5b8e2d747343070eeb95a6daaf93dcbd65c3c3ed325af00667
MD5 ea3c45708a5fcac193500ad33217dacb
BLAKE2b-256 0470757c8d97d41df0e993d1008110bc40c34cdbda3ce45e5a2d4843efaf671c

See more details on using hashes here.

Supported by

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