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.
- Download this code as a zip file.
- Extract the zip file on your local machine.
- Go to your project in CoCalc and upload the file "PowerDominationToolbox.py".
- Execute the following command in your sage worksheet.
load("PowerDominationToolbox.py")
Using the Power Domination Toolbox
The PDT offers functions for:
- Zero forcing,
ZeroForce
, - Domination,
Dominate
, - Power domination,
PowerDominate
, - Determining if a set is a power dominating set,
isPDS
, - Locating a minimum power dominating set,
minpds
, - Calculating the power domination number of a graph,
pdn
, and - 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
Built Distribution
File details
Details for the file powerdominationtoolbox-1.1.tar.gz
.
File metadata
- Download URL: powerdominationtoolbox-1.1.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1a6835ab615ac4941da08b58940628b9efd81b79ca8faaf256e0c6898002e12 |
|
MD5 | 8b196db64e5676d8716d1c36c5a6dce4 |
|
BLAKE2b-256 | 8907228444ab877f87cadd7f809c0b9156a80a807dbf493d2061a38f96d1ea92 |
File details
Details for the file powerdominationtoolbox-1.1-py3-none-any.whl
.
File metadata
- Download URL: powerdominationtoolbox-1.1-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51cf1ed39c09099be01fc104b97aefa8ba3bb60bd0f42f6d7c7ffa9cc86c2289 |
|
MD5 | ac93a6849d2c837548e356c9c413026f |
|
BLAKE2b-256 | 52889f7e13e1b706f216870c1dc145fff080fa2fd2832735795e7fc346038371 |