SlideShare a Scribd company logo
A METHOD FOR GENERATING
COLORINGS OVER GRAPH
AUTOMORPHISM
Fei He, Hiroshi Nagamochi
2015.8.22.
1
The 12th International Symposium on Operations Research and its
Applications in engineering, technology and management (ISORA 2015),
Luoyang, August 21-24, 2015. 何 飛 プレゼン資料
平成28年度 数理工学専攻説明会
第1回: 平成28年5月7日(土)
第2回: 平成28年5月30日(月)
場所,プログラムの詳細は以下の専攻HPをご覧ください.
http://www.amp.i.kyoto-u.ac.jp
研究室見学できます.在学生から,入試勉強のしかた,
過去問の勉強方法などを聞くチャンスです.
京都大学大学院 情報学研究科 数理工学専攻
修士課程,博士課程の学生募集
Background
Enumeration of isomers of chemical compounds
Ex.
N
10 Isomers
Naphthalene
N
c
l
cl
N
cl
N
cl
N
cl
N
cl
N
cl
N
cl
NclN
cl
Ncl
Nitrogen Atom
Chlorine Atom
W
2
Background
Enumeration of isomers of chemical compounds can
be converted into graph coloring problems.
Ex.
N
c
l
c
l
N
10 Isomers 10 Colorings
Chemistry
Problem
Graph Coloring
Problem
N
c
l
Color the vertices with the
color of the atom attached
to it.
See the carbon atoms as
vertices.
3
Assumption on Graphs -- Symmetries
graph G
automorphism φ1 automorphism φ2
automorphism φ3
Axial
symmetries
A combination
of φ1 and φ2
We only deal with graphs of two axial symmetries.
Ex.
180°
4
Assumption on Graphs --Blocks
graph G
A block: a set of vertices that can be mapped to
each other by some automorphism.
Ex.
Block B1
180° Block B2
B1∨ B2 = W
Blocks are equivalence classes
defined by automorphisms.
W
5
Equivalent Colorings
Coloring c1 Coloring c2
φ2
equivalent
There exists an automorphism
φ1, φ2 or φ3
Coloring c1 Coloring c3
non-equivalent
6
Problem Statement
A graph G=(V, E) of two axial symmetries, a
subset W of vertices of V
Input :
Output : All non-equivalent colorings to W
Ex.
Input 1 Input 2 7
Output
Output : All non-equivalent colorings to W
Color IndexIn case of a Naphthalene ring:Ex.
We want to realize the generation
of colorings in polynomial delay.
 Avoid duplication of calculation
Total number of possible colorings : > 460,000
… 8
Total number of non-equivalent colorings : 23,911
Idea of Algorithm -- Family Tree
…
…
…
…
…
…
…
* We put colorings with the
same color index in one set.
…
The Family Tree
9
Parent-child Relationship
…
Color Priority:
Constraints on #: # ≥# ≥# ≥# ≥# ≥# ≥
…
…
Color Index
Parent Parent
Child Child Child
Parent
# in Parent = # + #min in Child
the leading color
the leading color
the leading color
10
min
Example of Family Tree
# ≥ # ≥ # ≥ #
≥ # ≥ #
Ex. |W| = 6
…
11
Generate Children Color Indices
…
min=
… … …
…
# = 1
# = 2
# = #min
# ≥ # ≥ … ≥ # ≥ #Color Priority: …
The next color in the ordering 12
becomes the new min
Recursive Problem for Generating
Colorings
…
…
Recursive Problem
13
…
Known
Unknown
Recursive Problem Set
A coloring cInput :
Output : All colorings c’ that are the children of c
c
c’
Ex.
How to generate
colorings?
14
 By using blocks
Summary
A graph G=(V, E) of two axial symmetries, a
subset W of vertices of V
Input :
Output : All non-equivalent colorings to W
Can be realized in polynomial delay by
using
 Family Trees
 Blocks defined after automorphisms
graph G
15
colorings
16
The End
Flow of the Algorithm
Input: c Define
Blocks
Assign
Numbers
Output: c’
Assign
Numbers
Decide
Positions Output: c’
Decide
Positions
Decide
Positions
Decide
Positions
Output: c’
Output: c’
…
……
17
Flow of the Algorithm
Input: c Define
Blocks
Assign
Numbers
Check the symmetry of parent coloring c and define blocks
on vertices with the leading color over c’s symmetries.
Output: c’
Assign
Numbers
Decide
Positions Output: c’
Decide
Positions
Decide
Positions
Decide
Positions
Output: c’
Output: c’
…
……
18
Define Blocks
For a coloring c, its block is a collection of vertices with
the leading color, and can be shifted to one another by
one of the automorphisms of c.
Ex. Naphthalene ring
φ1
Block 1Block 2
Block 3
Blocks are equivalence classes
defined by c’s automorphism.
c
19
Define Blocks
Define blocks: check the symmetry of c and define
blocks on vertices with the leading color.
Block 1
Block 2
Block 1
Block 2
Block 3
φ1, φ2, φ3
φ1
Block 1
Block 2
Block 3
Block 4
Block 5
__
Ex. c
20
Flow of the Algorithm
Input: c Define
Blocks
Assign
Numbers
Assign the number of the new color to each block.
Output: c’
Assign
Numbers
Decide
Positions Output: c’
Decide
Positions
Decide
Positions
Decide
Positions
Output: c’
Output: c’
…
……
21
Assign Numbers
Block 1
Block 2
Block 3
Change two into
Block 1
Block 2
Block 3
2
0
0
1
1
0
1
0
1
0
2
0
0
1
1
0
0
2
Assign Numbers of to each block:
c
Ex.
22
Flow of the Algorithm
Input: c Define
Blocks
Assign
Numbers
Output: c’
Assign
Numbers
Decide
Positions Output: c’
Decide
Positions
Decide
Positions
Decide
Positions
Output: c’
Output: c’
…
……
Decide the positions for the new color by the
assignment of numbers in each block.
23
Decide Positions
Block 1
Block 2
Block 3
Change two into
Block 1
Block 2
Block 3
2
0
0
Assign Numbers of to each block:
c
c’
Block 1
Ex.
24
Decide Positions
Block 1
Block 2
Block 3
Change two into
Block 1
Block 2
Block 3
1
1
0
Assign Numbers of to each block:
c
c’
c’
Block 2 Block 1
Ex.
25
Decide Positions
c
c’
Block 1
c’
c’
Block 2 Block 1
Block 1
Block 2
Block 3
2
0
0
1
1
0
1
0
1
0
2
0
0
1
1
0
0
2
…
Output
Ex.
26
Flow of the Algorithm
Input: c Define
Blocks
Assign
Numbers
Output: c’
Assign
Numbers
Decide
Positions Output: c’
Decide
Positions
Decide
Positions
Decide
Positions
Output: c’
Output: c’
…
……
Can be calculated
automatically by our
algorithm 27
Summary
A graph G=(V, E) of two axial symmetries, a
subset W of vertices of V
Input :
Output : All non-isomorphic colorings to W
Can be realized in polynomial delay by
using
 Family Trees
 Blocks defined after automorphisms
 Assignment of colors and decision
on their positions.graph G
28

More Related Content

Viewers also liked

数理解析分野(研究室)の案内
数理解析分野(研究室)の案内数理解析分野(研究室)の案内
数理解析分野(研究室)の案内
京都大学大学院情報学研究科数理工学専攻
 
数理工学専攻の入試案内
数理工学専攻の入試案内数理工学専攻の入試案内
最適化数理分野(研究室)の案内
最適化数理分野(研究室)の案内最適化数理分野(研究室)の案内
最適化数理分野(研究室)の案内
京都大学大学院情報学研究科数理工学専攻
 
離散数理分野(研究室)の案内
離散数理分野(研究室)の案内離散数理分野(研究室)の案内
離散数理分野(研究室)の案内
京都大学大学院情報学研究科数理工学専攻
 
coordinate descent 法について
coordinate descent 法についてcoordinate descent 法について
物理統計学分野(研究室)の案内
物理統計学分野(研究室)の案内物理統計学分野(研究室)の案内
物理統計学分野(研究室)の案内
京都大学大学院情報学研究科数理工学専攻
 
大規模凸最適化問題に対する勾配法
大規模凸最適化問題に対する勾配法大規模凸最適化問題に対する勾配法
大規模凸最適化問題に対する勾配法
京都大学大学院情報学研究科数理工学専攻
 
A Forward-Backward Splitting Method with Component-wise Lazy Evaluation for O...
A Forward-Backward Splitting Method with Component-wise Lazy Evaluation for O...A Forward-Backward Splitting Method with Component-wise Lazy Evaluation for O...
A Forward-Backward Splitting Method with Component-wise Lazy Evaluation for O...
京都大学大学院情報学研究科数理工学専攻
 
混沌を活かす技術と思想の温故知新 -熱機関から携帯電話、そして未来のICTへ-
混沌を活かす技術と思想の温故知新 -熱機関から携帯電話、そして未来のICTへ-混沌を活かす技術と思想の温故知新 -熱機関から携帯電話、そして未来のICTへ-
混沌を活かす技術と思想の温故知新 -熱機関から携帯電話、そして未来のICTへ-
京都大学大学院情報学研究科数理工学専攻
 
ゆらぎの数理 情報処理への応用
ゆらぎの数理 情報処理への応用ゆらぎの数理 情報処理への応用
ゆらぎの数理 情報処理への応用
京都大学大学院情報学研究科数理工学専攻
 
簡単そうで難しい組合せ最適化
簡単そうで難しい組合せ最適化簡単そうで難しい組合せ最適化
簡単そうで難しい組合せ最適化
京都大学大学院情報学研究科数理工学専攻
 
Exact Algorithms for Minimum Edge Dominating Set and Lowest Edge Dominating Set
Exact Algorithms for Minimum Edge Dominating Set and Lowest Edge Dominating SetExact Algorithms for Minimum Edge Dominating Set and Lowest Edge Dominating Set
Exact Algorithms for Minimum Edge Dominating Set and Lowest Edge Dominating Set
京都大学大学院情報学研究科数理工学専攻
 
ITと数学で社会に役立つ数理最適化
ITと数学で社会に役立つ数理最適化ITと数学で社会に役立つ数理最適化
ITと数学で社会に役立つ数理最適化
京都大学大学院情報学研究科数理工学専攻
 

Viewers also liked (13)

数理解析分野(研究室)の案内
数理解析分野(研究室)の案内数理解析分野(研究室)の案内
数理解析分野(研究室)の案内
 
数理工学専攻の入試案内
数理工学専攻の入試案内数理工学専攻の入試案内
数理工学専攻の入試案内
 
最適化数理分野(研究室)の案内
最適化数理分野(研究室)の案内最適化数理分野(研究室)の案内
最適化数理分野(研究室)の案内
 
離散数理分野(研究室)の案内
離散数理分野(研究室)の案内離散数理分野(研究室)の案内
離散数理分野(研究室)の案内
 
coordinate descent 法について
coordinate descent 法についてcoordinate descent 法について
coordinate descent 法について
 
物理統計学分野(研究室)の案内
物理統計学分野(研究室)の案内物理統計学分野(研究室)の案内
物理統計学分野(研究室)の案内
 
大規模凸最適化問題に対する勾配法
大規模凸最適化問題に対する勾配法大規模凸最適化問題に対する勾配法
大規模凸最適化問題に対する勾配法
 
A Forward-Backward Splitting Method with Component-wise Lazy Evaluation for O...
A Forward-Backward Splitting Method with Component-wise Lazy Evaluation for O...A Forward-Backward Splitting Method with Component-wise Lazy Evaluation for O...
A Forward-Backward Splitting Method with Component-wise Lazy Evaluation for O...
 
混沌を活かす技術と思想の温故知新 -熱機関から携帯電話、そして未来のICTへ-
混沌を活かす技術と思想の温故知新 -熱機関から携帯電話、そして未来のICTへ-混沌を活かす技術と思想の温故知新 -熱機関から携帯電話、そして未来のICTへ-
混沌を活かす技術と思想の温故知新 -熱機関から携帯電話、そして未来のICTへ-
 
ゆらぎの数理 情報処理への応用
ゆらぎの数理 情報処理への応用ゆらぎの数理 情報処理への応用
ゆらぎの数理 情報処理への応用
 
簡単そうで難しい組合せ最適化
簡単そうで難しい組合せ最適化簡単そうで難しい組合せ最適化
簡単そうで難しい組合せ最適化
 
Exact Algorithms for Minimum Edge Dominating Set and Lowest Edge Dominating Set
Exact Algorithms for Minimum Edge Dominating Set and Lowest Edge Dominating SetExact Algorithms for Minimum Edge Dominating Set and Lowest Edge Dominating Set
Exact Algorithms for Minimum Edge Dominating Set and Lowest Edge Dominating Set
 
ITと数学で社会に役立つ数理最適化
ITと数学で社会に役立つ数理最適化ITと数学で社会に役立つ数理最適化
ITと数学で社会に役立つ数理最適化
 

Similar to A Method for Generating Colorings over Graph Automophism

3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
BGS Institute of Technology, Adichunchanagiri University (ACU)
 
3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
BGS Institute of Technology, Adichunchanagiri University (ACU)
 
6 CSE551 PavelGreedy5_v3 - Tagged.pdf it
6 CSE551 PavelGreedy5_v3 - Tagged.pdf it6 CSE551 PavelGreedy5_v3 - Tagged.pdf it
6 CSE551 PavelGreedy5_v3 - Tagged.pdf it
srinivas281220
 
tutorial5.ppt
tutorial5.ppttutorial5.ppt
tutorial5.ppt
jvjfvvoa
 
Enem 2018
Enem 2018Enem 2018
Enem 2018
KalculosOnline
 
Algorithms
AlgorithmsAlgorithms
Algorithms
DrHiyamHatem
 
1 Faculty of Computer Studies Information Technology a.docx
1 Faculty of Computer Studies Information Technology a.docx1 Faculty of Computer Studies Information Technology a.docx
1 Faculty of Computer Studies Information Technology a.docx
mercysuttle
 
Smu bca sem 1 spring 2015 assignments
Smu bca sem 1 spring 2015 assignmentsSmu bca sem 1 spring 2015 assignments
Smu bca sem 1 spring 2015 assignments
solved_assignments
 
Mb0040 assignment spring_2016
Mb0040 assignment spring_2016Mb0040 assignment spring_2016
Mb0040 assignment spring_2016
Rajesh Kumar Singh
 
SATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHSSATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHS
cscpconf
 
Archivetemp est i - math test
 Archivetemp est i - math test Archivetemp est i - math test
Archivetemp est i - math test
EdatBenha
 
BetterPie Industries has 3 million shares of common stock outstand.docx
BetterPie Industries has 3 million shares of common stock outstand.docxBetterPie Industries has 3 million shares of common stock outstand.docx
BetterPie Industries has 3 million shares of common stock outstand.docx
ikirkton
 
Hardness of multiple choice problems
Hardness of multiple choice problemsHardness of multiple choice problems
Hardness of multiple choice problems
cseiitgn
 
Sequence
SequenceSequence
Sequence
lilyhwa1
 
SSC STUDY MATERIAL
SSC STUDY MATERIALSSC STUDY MATERIAL
SSC STUDY MATERIAL
Avula Yadav
 
Đề Thi HK2 Toán 7 - THCS Tô Ký
Đề Thi HK2 Toán 7 - THCS Tô KýĐề Thi HK2 Toán 7 - THCS Tô Ký
Đề Thi HK2 Toán 7 - THCS Tô Ký
Công Ty TNHH VIETTRIGROUP
 
X maths 1
X maths 1X maths 1
X maths 1
Sailaja Akundi
 
MATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdfMATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdf
ahmed8651
 
cp467_12_lecture14_image compression1.pdf
cp467_12_lecture14_image compression1.pdfcp467_12_lecture14_image compression1.pdf
cp467_12_lecture14_image compression1.pdf
shaikmoosa2003
 

Similar to A Method for Generating Colorings over Graph Automophism (20)

3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
 
3rd Semester Computer Science and Engineering (ACU) Question papers
3rd Semester Computer Science and Engineering  (ACU) Question papers3rd Semester Computer Science and Engineering  (ACU) Question papers
3rd Semester Computer Science and Engineering (ACU) Question papers
 
6 CSE551 PavelGreedy5_v3 - Tagged.pdf it
6 CSE551 PavelGreedy5_v3 - Tagged.pdf it6 CSE551 PavelGreedy5_v3 - Tagged.pdf it
6 CSE551 PavelGreedy5_v3 - Tagged.pdf it
 
tutorial5.ppt
tutorial5.ppttutorial5.ppt
tutorial5.ppt
 
Enem 2018
Enem 2018Enem 2018
Enem 2018
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 
1 Faculty of Computer Studies Information Technology a.docx
1 Faculty of Computer Studies Information Technology a.docx1 Faculty of Computer Studies Information Technology a.docx
1 Faculty of Computer Studies Information Technology a.docx
 
Smu bca sem 1 spring 2015 assignments
Smu bca sem 1 spring 2015 assignmentsSmu bca sem 1 spring 2015 assignments
Smu bca sem 1 spring 2015 assignments
 
Mb0040 assignment spring_2016
Mb0040 assignment spring_2016Mb0040 assignment spring_2016
Mb0040 assignment spring_2016
 
SATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHSSATISFIABILITY METHODS FOR COLOURING GRAPHS
SATISFIABILITY METHODS FOR COLOURING GRAPHS
 
Archivetemp est i - math test
 Archivetemp est i - math test Archivetemp est i - math test
Archivetemp est i - math test
 
BetterPie Industries has 3 million shares of common stock outstand.docx
BetterPie Industries has 3 million shares of common stock outstand.docxBetterPie Industries has 3 million shares of common stock outstand.docx
BetterPie Industries has 3 million shares of common stock outstand.docx
 
Hardness of multiple choice problems
Hardness of multiple choice problemsHardness of multiple choice problems
Hardness of multiple choice problems
 
Sequence
SequenceSequence
Sequence
 
SSC STUDY MATERIAL
SSC STUDY MATERIALSSC STUDY MATERIAL
SSC STUDY MATERIAL
 
Đề Thi HK2 Toán 7 - THCS Tô Ký
Đề Thi HK2 Toán 7 - THCS Tô KýĐề Thi HK2 Toán 7 - THCS Tô Ký
Đề Thi HK2 Toán 7 - THCS Tô Ký
 
algo1
algo1algo1
algo1
 
X maths 1
X maths 1X maths 1
X maths 1
 
MATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdfMATLAB Questions and Answers.pdf
MATLAB Questions and Answers.pdf
 
cp467_12_lecture14_image compression1.pdf
cp467_12_lecture14_image compression1.pdfcp467_12_lecture14_image compression1.pdf
cp467_12_lecture14_image compression1.pdf
 

Recently uploaded

Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Dutch Power
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Access Innovations, Inc.
 
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AwangAniqkmals
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
khadija278284
 
María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
eCommerce Institute
 
Tom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issueTom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issue
amekonnen
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Sebastiano Panichella
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
faizulhassanfaiz1670
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
Sebastiano Panichella
 
Gregory Harris' Civics Presentation.pptx
Gregory Harris' Civics Presentation.pptxGregory Harris' Civics Presentation.pptx
Gregory Harris' Civics Presentation.pptx
gharris9
 
Gregory Harris - Cycle 2 - Civics Presentation
Gregory Harris - Cycle 2 - Civics PresentationGregory Harris - Cycle 2 - Civics Presentation
Gregory Harris - Cycle 2 - Civics Presentation
gharris9
 
Burning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdfBurning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdf
kkirkland2
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Matjaž Lipuš
 
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie WellsCollapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Rosie Wells
 
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Dutch Power
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Sebastiano Panichella
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
Howard Spence
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
Faculty of Medicine And Health Sciences
 
2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf
Frederic Leger
 

Recently uploaded (19)

Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
Presentatie 8. Joost van der Linde & Daniel Anderton - Eliq 28 mei 2024
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
 
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
AWANG ANIQKMALBIN AWANG TAJUDIN B22080004 ASSIGNMENT 2 MPU3193 PHILOSOPHY AND...
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
 
María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
 
Tom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issueTom tresser burning issue.pptx My Burning issue
Tom tresser burning issue.pptx My Burning issue
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
 
Gregory Harris' Civics Presentation.pptx
Gregory Harris' Civics Presentation.pptxGregory Harris' Civics Presentation.pptx
Gregory Harris' Civics Presentation.pptx
 
Gregory Harris - Cycle 2 - Civics Presentation
Gregory Harris - Cycle 2 - Civics PresentationGregory Harris - Cycle 2 - Civics Presentation
Gregory Harris - Cycle 2 - Civics Presentation
 
Burning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdfBurning Issue Presentation By Kenmaryon.pdf
Burning Issue Presentation By Kenmaryon.pdf
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
 
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie WellsCollapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
Collapsing Narratives: Exploring Non-Linearity • a micro report by Rosie Wells
 
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
Presentatie 4. Jochen Cremer - TU Delft 28 mei 2024
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
 
2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf2024-05-30_meetup_devops_aix-marseille.pdf
2024-05-30_meetup_devops_aix-marseille.pdf
 

A Method for Generating Colorings over Graph Automophism

  • 1. A METHOD FOR GENERATING COLORINGS OVER GRAPH AUTOMORPHISM Fei He, Hiroshi Nagamochi 2015.8.22. 1 The 12th International Symposium on Operations Research and its Applications in engineering, technology and management (ISORA 2015), Luoyang, August 21-24, 2015. 何 飛 プレゼン資料
  • 2. 平成28年度 数理工学専攻説明会 第1回: 平成28年5月7日(土) 第2回: 平成28年5月30日(月) 場所,プログラムの詳細は以下の専攻HPをご覧ください. http://www.amp.i.kyoto-u.ac.jp 研究室見学できます.在学生から,入試勉強のしかた, 過去問の勉強方法などを聞くチャンスです. 京都大学大学院 情報学研究科 数理工学専攻 修士課程,博士課程の学生募集
  • 3. Background Enumeration of isomers of chemical compounds Ex. N 10 Isomers Naphthalene N c l cl N cl N cl N cl N cl N cl N cl NclN cl Ncl Nitrogen Atom Chlorine Atom W 2
  • 4. Background Enumeration of isomers of chemical compounds can be converted into graph coloring problems. Ex. N c l c l N 10 Isomers 10 Colorings Chemistry Problem Graph Coloring Problem N c l Color the vertices with the color of the atom attached to it. See the carbon atoms as vertices. 3
  • 5. Assumption on Graphs -- Symmetries graph G automorphism φ1 automorphism φ2 automorphism φ3 Axial symmetries A combination of φ1 and φ2 We only deal with graphs of two axial symmetries. Ex. 180° 4
  • 6. Assumption on Graphs --Blocks graph G A block: a set of vertices that can be mapped to each other by some automorphism. Ex. Block B1 180° Block B2 B1∨ B2 = W Blocks are equivalence classes defined by automorphisms. W 5
  • 7. Equivalent Colorings Coloring c1 Coloring c2 φ2 equivalent There exists an automorphism φ1, φ2 or φ3 Coloring c1 Coloring c3 non-equivalent 6
  • 8. Problem Statement A graph G=(V, E) of two axial symmetries, a subset W of vertices of V Input : Output : All non-equivalent colorings to W Ex. Input 1 Input 2 7
  • 9. Output Output : All non-equivalent colorings to W Color IndexIn case of a Naphthalene ring:Ex. We want to realize the generation of colorings in polynomial delay.  Avoid duplication of calculation Total number of possible colorings : > 460,000 … 8 Total number of non-equivalent colorings : 23,911
  • 10. Idea of Algorithm -- Family Tree … … … … … … … * We put colorings with the same color index in one set. … The Family Tree 9
  • 11. Parent-child Relationship … Color Priority: Constraints on #: # ≥# ≥# ≥# ≥# ≥# ≥ … … Color Index Parent Parent Child Child Child Parent # in Parent = # + #min in Child the leading color the leading color the leading color 10 min
  • 12. Example of Family Tree # ≥ # ≥ # ≥ # ≥ # ≥ # Ex. |W| = 6 … 11
  • 13. Generate Children Color Indices … min= … … … … # = 1 # = 2 # = #min # ≥ # ≥ … ≥ # ≥ #Color Priority: … The next color in the ordering 12 becomes the new min
  • 14. Recursive Problem for Generating Colorings … … Recursive Problem 13 … Known Unknown
  • 15. Recursive Problem Set A coloring cInput : Output : All colorings c’ that are the children of c c c’ Ex. How to generate colorings? 14  By using blocks
  • 16. Summary A graph G=(V, E) of two axial symmetries, a subset W of vertices of V Input : Output : All non-equivalent colorings to W Can be realized in polynomial delay by using  Family Trees  Blocks defined after automorphisms graph G 15 colorings
  • 18. Flow of the Algorithm Input: c Define Blocks Assign Numbers Output: c’ Assign Numbers Decide Positions Output: c’ Decide Positions Decide Positions Decide Positions Output: c’ Output: c’ … …… 17
  • 19. Flow of the Algorithm Input: c Define Blocks Assign Numbers Check the symmetry of parent coloring c and define blocks on vertices with the leading color over c’s symmetries. Output: c’ Assign Numbers Decide Positions Output: c’ Decide Positions Decide Positions Decide Positions Output: c’ Output: c’ … …… 18
  • 20. Define Blocks For a coloring c, its block is a collection of vertices with the leading color, and can be shifted to one another by one of the automorphisms of c. Ex. Naphthalene ring φ1 Block 1Block 2 Block 3 Blocks are equivalence classes defined by c’s automorphism. c 19
  • 21. Define Blocks Define blocks: check the symmetry of c and define blocks on vertices with the leading color. Block 1 Block 2 Block 1 Block 2 Block 3 φ1, φ2, φ3 φ1 Block 1 Block 2 Block 3 Block 4 Block 5 __ Ex. c 20
  • 22. Flow of the Algorithm Input: c Define Blocks Assign Numbers Assign the number of the new color to each block. Output: c’ Assign Numbers Decide Positions Output: c’ Decide Positions Decide Positions Decide Positions Output: c’ Output: c’ … …… 21
  • 23. Assign Numbers Block 1 Block 2 Block 3 Change two into Block 1 Block 2 Block 3 2 0 0 1 1 0 1 0 1 0 2 0 0 1 1 0 0 2 Assign Numbers of to each block: c Ex. 22
  • 24. Flow of the Algorithm Input: c Define Blocks Assign Numbers Output: c’ Assign Numbers Decide Positions Output: c’ Decide Positions Decide Positions Decide Positions Output: c’ Output: c’ … …… Decide the positions for the new color by the assignment of numbers in each block. 23
  • 25. Decide Positions Block 1 Block 2 Block 3 Change two into Block 1 Block 2 Block 3 2 0 0 Assign Numbers of to each block: c c’ Block 1 Ex. 24
  • 26. Decide Positions Block 1 Block 2 Block 3 Change two into Block 1 Block 2 Block 3 1 1 0 Assign Numbers of to each block: c c’ c’ Block 2 Block 1 Ex. 25
  • 27. Decide Positions c c’ Block 1 c’ c’ Block 2 Block 1 Block 1 Block 2 Block 3 2 0 0 1 1 0 1 0 1 0 2 0 0 1 1 0 0 2 … Output Ex. 26
  • 28. Flow of the Algorithm Input: c Define Blocks Assign Numbers Output: c’ Assign Numbers Decide Positions Output: c’ Decide Positions Decide Positions Decide Positions Output: c’ Output: c’ … …… Can be calculated automatically by our algorithm 27
  • 29. Summary A graph G=(V, E) of two axial symmetries, a subset W of vertices of V Input : Output : All non-isomorphic colorings to W Can be realized in polynomial delay by using  Family Trees  Blocks defined after automorphisms  Assignment of colors and decision on their positions.graph G 28