A study of odd-even transposition sort of (0,1)-sequences
碩士 === 淡江大學 === 數學學系數學與數據科學碩士班 === 106 === Let G=(V,E) be a connected graph with vertices {v_1,v_2,…,v_n } and π be a permutation on [n]. Initially, each vertex v_i of G is occupied by a “pebble.” Pebbles can be moved around by the following rule: At each step a disjoint collection of edges of G i...
Main Authors: | , |
---|---|
Other Authors: | |
Format: | Others |
Language: | zh-TW |
Published: |
2018
|
Online Access: | http://ndltd.ncl.edu.tw/handle/5b37n6 |
id |
ndltd-TW-106TKU05477001 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-TW-106TKU054770012019-08-29T03:39:52Z http://ndltd.ncl.edu.tw/handle/5b37n6 A study of odd-even transposition sort of (0,1)-sequences (0,1)數列的奇偶置換排序之研究 Pei-Jhen Cai 蔡沛蓁 碩士 淡江大學 數學學系數學與數據科學碩士班 106 Let G=(V,E) be a connected graph with vertices {v_1,v_2,…,v_n } and π be a permutation on [n]. Initially, each vertex v_i of G is occupied by a “pebble.” Pebbles can be moved around by the following rule: At each step a disjoint collection of edges of G is selected, and the pebbles at each edge’s two endpoints are interchanged. The goal is to move/route each pebble p_i to its destination v_i.Define rt(G,π) to be the minimum number of steps to route the permutation π.Finally, define rt(G) the routine number of G by rt(G)=(max)┬π〖rt(G,π)〗. Given a sequence, π=p_1,p_2,…,p_n, we choose the number p_i, if the number of the original sequence is greater or equal to p_i then change to “1”, otherwise change to “0”, therefore we obtain a (0,1)-sequences, λ=c_1,c_2,…,c_n. It is known that using the (0,1)-sequence can prove the upper bound of the routine number of path,then given an arbitrary (0,1)-sequence λ=c_1,c_2,…,c_n, the number when it line up by odd-even transposition sort is less than or equal to n-1. In this paper, in connection with arbitrary (0,1)-sequences,λ=c_1,c_2,…,c_N ,N=∑_(k=0)^n▒a_k ∑_(k=0)^n▒b_k , define S=a_0,b_n,a_1,b_(n-1),a_2,b_(n-2),…a_(n-2),b_2,a_(n-1),b_1,a_n,b_0, a_i,b_i≥1,i=0,1…n are quantity of 0,1 respectively and a_0,b_0≥0, after odd-even transposition sort, the number when it line up will be N-(min)┬(i∈{0,1,…,n-1} )〖{∑_(k=0)^i▒a_k +∑_(k=0)^(n-i-1)▒b_k }〗-1 潘志實 2018 學位論文 ; thesis 38 zh-TW |
collection |
NDLTD |
language |
zh-TW |
format |
Others
|
sources |
NDLTD |
description |
碩士 === 淡江大學 === 數學學系數學與數據科學碩士班 === 106 === Let G=(V,E) be a connected graph with vertices {v_1,v_2,…,v_n } and π be a permutation on [n]. Initially, each vertex v_i of G is occupied by a “pebble.” Pebbles can be moved around by the following rule: At each step a disjoint collection of edges of G is selected, and the pebbles at each edge’s two endpoints are interchanged. The goal is to move/route each pebble p_i to its destination v_i.Define rt(G,π) to be the minimum number of steps to route the permutation π.Finally, define rt(G) the routine number of G by rt(G)=(max)┬π〖rt(G,π)〗.
Given a sequence, π=p_1,p_2,…,p_n, we choose the number p_i, if the number of the original sequence is greater or equal to p_i then change to “1”, otherwise change to “0”, therefore we obtain a (0,1)-sequences, λ=c_1,c_2,…,c_n. It is known that using the (0,1)-sequence can prove the upper bound of the routine number of path,then given an arbitrary (0,1)-sequence λ=c_1,c_2,…,c_n, the number when it line up by odd-even transposition sort is less than or equal to n-1.
In this paper, in connection with arbitrary (0,1)-sequences,λ=c_1,c_2,…,c_N ,N=∑_(k=0)^n▒a_k ∑_(k=0)^n▒b_k , define S=a_0,b_n,a_1,b_(n-1),a_2,b_(n-2),…a_(n-2),b_2,a_(n-1),b_1,a_n,b_0, a_i,b_i≥1,i=0,1…n are quantity of 0,1 respectively and a_0,b_0≥0, after odd-even transposition sort, the number when it line up will be
N-(min)┬(i∈{0,1,…,n-1} )〖{∑_(k=0)^i▒a_k +∑_(k=0)^(n-i-1)▒b_k }〗-1
|
author2 |
潘志實 |
author_facet |
潘志實 Pei-Jhen Cai 蔡沛蓁 |
author |
Pei-Jhen Cai 蔡沛蓁 |
spellingShingle |
Pei-Jhen Cai 蔡沛蓁 A study of odd-even transposition sort of (0,1)-sequences |
author_sort |
Pei-Jhen Cai |
title |
A study of odd-even transposition sort of (0,1)-sequences |
title_short |
A study of odd-even transposition sort of (0,1)-sequences |
title_full |
A study of odd-even transposition sort of (0,1)-sequences |
title_fullStr |
A study of odd-even transposition sort of (0,1)-sequences |
title_full_unstemmed |
A study of odd-even transposition sort of (0,1)-sequences |
title_sort |
study of odd-even transposition sort of (0,1)-sequences |
publishDate |
2018 |
url |
http://ndltd.ncl.edu.tw/handle/5b37n6 |
work_keys_str_mv |
AT peijhencai astudyofoddeventranspositionsortof01sequences AT càipèizhēn astudyofoddeventranspositionsortof01sequences AT peijhencai 01shùlièdeqíǒuzhìhuànpáixùzhīyánjiū AT càipèizhēn 01shùlièdeqíǒuzhìhuànpáixùzhīyánjiū AT peijhencai studyofoddeventranspositionsortof01sequences AT càipèizhēn studyofoddeventranspositionsortof01sequences |
_version_ |
1719238632549646336 |