Skip to content

wangjie212/ChordalGraph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChordalGraph

ChordalGraph is an extension of the Julia package Graphs to handle chordal graphs.

To use ChordalGraph in Julia, run

pkg> add ChordalGraph

Dependencies

  • Graphs

Usage

The command CheckChordal checks whether a graph G is chordal. If G is chordal, then flag=true and a perfect elimination ordering order is returned; otherwise, flag=false.

julia> flag,order = CheckChordal(G)

The command chordal_cliques! generates a chordal extension of G and enumerates all maximal cliques of the obtained graph.

julia> cliques,num_cliques,size_cliques = chordal_cliques!(G, method="MF", minimize=true)

Options:
method: MF (a chordal extension based on greedy minimal fill-in), MD (a chordal extension based on greedy minimal degree)
minimize: true (minimizing the obtained chordal extension), false (not minimizing the obtained chordal extension)

References

ChordalGraph: A Julia Package to Handle Chordal Graphs, Jie Wang, 2020.

Citing

@article{Wang20,
author = {Jie Wang},
title = {ChordalGraph: A Julia Package to Handle Chordal Graphs},
year = 2020,
url = {https://github.com/wangjie212/ChordalGraph}
}

Contact

Jie Wang: wangjie212@amss.ac.cn

About

ChordalGraph is an extension of the Julia package Graphs to handle chordal graphs.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages