Skip to content

c752334430/ColorCoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorCoding

Python Implementation of Color coding algorithm

Introduction

Color coding is a probabilistic algorithm that can be applied to detect a path or a cycle of specified length in a given graph.

Installation

pip install -i https://test.pypi.org/simple/ colorCoding

Tests

See tests/demo.ipynb

Usage

find_subgraph():

  • G: graph object created by networkx
  • k: length of the path to find
  • subgraph: 'path' or 'cycle'
  • color_repeat:
  • get_detail:
  • verbose:
  • plot: boolean value

About

Python Implementation of Color coding algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •