Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Betweenness problem
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Algorithm in order theory}} {{about|ordering items with constraints|centrality in social networks|betweenness centrality|the betweenness relation in geometry|ordered geometry}} '''Betweenness''' is an [[algorithmic problem]] in [[order theory]] about ordering a collection of items subject to constraints that some items must be placed between others.<ref name="cs98">{{citation | last1 = Chor | first1 = Benny | author1-link = Benny Chor | last2 = Sudan | first2 = Madhu | author2-link = Madhu Sudan | doi = 10.1137/S0895480195296221 | issue = 4 | journal = [[SIAM Journal on Discrete Mathematics]] | mr = 1640920 | pages = 511–523 (electronic) | title = A geometric approach to betweenness | volume = 11 | year = 1998}}.</ref> It has applications in [[bioinformatics]]<ref name="sksl97">{{citation | last1 = Slonim | first1 = Donna | last2 = Kruglyak | first2 = Leonid | last3 = Stein | first3 = Lincoln | last4 = Lander | first4 = Eric | author4-link = Eric Lander | doi = 10.1089/cmb.1997.4.487 | issue = 4 | journal = [[Journal of Computational Biology]] | pages = 487–504 | title = Building human genome maps with radiation hybrids | volume = 4 | year = 1997| pmid = 9385541 }}.</ref> and was shown to be [[NP-complete]] by {{harvtxt|Opatrný|1979}}.<ref name="o79"/> ==Problem statement== The input to a betweenness problem is a collection of [[ordered triple]]s of items. The items listed in these triples should be placed into a [[total order]], with the property that for each of the given triples, the middle item in the triple appears in the output somewhere between the other two items. The items of each triple are not required to be consecutive in the output.<ref name="cs98"/><ref name="o79"/> ==Examples== As an example, the collection of input triples :(2,1,3), (3,4,5), (1,4,5), (2,4,1), (5,2,3) is satisfied by the output ordering :3, 1, 4, 2, 5 but not by :3, 1, 2, 4, 5. In the first of these output orderings, for all five of the input triples, the middle item of the triple appears between the other two items However, for the second output ordering, item 4 is not between items 1 and 2, contradicting the requirement given by the triple (2,4,1). If an input contains two triples like (1,2,3) and (2,3,1) with the same three items but a different choice of the middle item, then there is no valid solution. However, there are more complicated ways of forming a set of triples with no valid solution, that do not contain such a pair of contradictory triples. ==Complexity== {{harvtxt|Opatrný|1979}} showed that the [[Decision problem|decision version]] of the betweenness problem (in which an algorithm must decide whether or not there exists a valid solution) is [[NP-complete]] in two ways, by a [[Reduction (complexity)|reduction]] from [[3-satisfiability]] and also by a different reduction from [[hypergraph]] [[graph coloring|2-coloring]].<ref name="o79">{{citation | last = Opatrný | first = J. | doi = 10.1137/0208008 | issue = 1 | journal = [[SIAM Journal on Computing]] | mr = 522973 | pages = 111–114 | title = Total ordering problem | volume = 8 | year = 1979}}.</ref> However, it can easily be solved when all unordered triples of items are represented by an ordered triple of the input, by choosing one of the two items that are not between any others to be the start of the ordering and then using the triples involving this item to compare the relative positions of each pair of remaining items. The related problem of finding an ordering that maximizes the number of satisfied triples is [[SNP (complexity)|MAXSNP-hard]], implying that it is impossible to achieve an [[approximation ratio]] arbitrarily close to 1 in [[polynomial time]] unless [[P = NP]].<ref name="cs98"/> It remains hard to solve or approximate even for dense instances that include an ordered triple for each possible unordered triple of items.<ref>{{citation | last1 = Ailon | first1 = Nir | last2 = Alon | first2 = Noga | author2-link = Noga Alon | doi = 10.1016/j.ic.2007.02.006 | issue = 8 | journal = [[Information and Computation]] | mr = 2340896 | pages = 1117–1129 | title = Hardness of fully dense problems | volume = 205 | year = 2007| doi-access = free }}.</ref> The minimum version of the problem restricted to the tournaments was proven to have polynomial time approximation schemes (PTAS).<ref> {{citation | last1 = Karpinski | first1=Marek | last2 = Schudy | first2=Warren | contribution=Approximation schemes for the betweenness problem in tournaments and related ranking problems | editor = L.A. Goldberg and K. Jansen and R.Ravi and J.D.P. Rolim | title = Proc. APPROX 2011, RANDOM 2011 | series = [[Lecture Notes in Computer Science]] | volume = 6845 | year=2011 | pages=277–288 | doi = 10.1007/978-3-642-22935-0_24 | arxiv = 0911.2214 | isbn=978-3-642-22934-3 | s2cid=7180847 }} </ref> One can achieve an approximation ratio of 1/3 (in expectation) by ordering the items randomly, and this simple strategy gives the best possible polynomial-time approximation if the [[unique games conjecture]] is true.<ref>{{citation | last1 = Charikar | first1 = Moses | author1-link = Moses Charikar | last2 = Guruswami | first2 = Venkatesan | author2-link = Venkatesan Guruswami | last3 = Manokaran | first3 = Rajsekar | contribution = Every permutation CSP of arity 3 is approximation resistant | doi = 10.1109/CCC.2009.29 | mr = 2932455 | pages = 62–73 | title = 24th Annual IEEE Conference on Computational Complexity | year = 2009| isbn = 978-0-7695-3717-7 | s2cid = 257225 }}.</ref> It is also possible to use [[semidefinite programming]] or combinatorial methods to find an ordering that satisfies at least half of the triples of any satisfiable instance, in polynomial time.<ref name="cs98"/><ref>{{citation | last = Makarychev | first = Yury | doi = 10.1016/j.orl.2012.08.008 | issue = 6 | journal = Operations Research Letters | mr = 2998680 | pages = 450–452 | title = Simple linear time approximation algorithm for betweenness | volume = 40 | year = 2012}}.</ref> In [[parameterized complexity]], the problem of satisfying as many constraints as possible from a set ''C'' of constraints is [[fixed-parameter tractable]] when parameterized by the difference ''q'' − |''C''|/3 between the solution quality ''q'' found by the parameterized algorithm and the |''C''|/3 quality guaranteed in expectation by a random ordering.<ref>{{citation | last1 = Gutin | first1 = Gregory | author1-link = Gregory Gutin | last2 = Kim | first2 = Eun Jung | author2-link = Eun Jung Kim (parameterized complexity) | last3 = Mnich | first3 = Matthias | last4 = Yeo | first4 = Anders | doi = 10.1016/j.jcss.2010.05.001 | issue = 8 | journal = [[Journal of Computer and System Sciences]] | mr = 2722353 | pages = 872–878 | title = Betweenness parameterized above tight lower bound | volume = 76 | year = 2010| arxiv = 0907.5427 | s2cid = 3408698 }}.</ref> Although not guaranteed to succeed, a [[greedy heuristic]] can find solutions to many instances of the betweenness problem arising in practice.<ref name="sksl97"/> ==Applications== One application of betweenness arises in [[bioinformatics]], as part of the process of [[gene mapping]]. Certain types of genetic experiments can be used to determine the ordering of triples of genetic markers, but do not distinguish a genetic sequence from its reversal, so the information yielded from such an experiment determines only which one out of three markers is the middle one. The betweenness problem is an abstraction of the problem of assembling a collection of markers into a single sequence given experimental data of this type.<ref name="cs98"/><ref name="sksl97"/> The betweenness problem has also been used to model theories of [[probability]], [[causality]], and [[time]].<ref>{{citation | last1 = Chvátal | first1 = Vašek | author1-link = Václav Chvátal | last2 = Wu | first2 = Baoyindureng | doi = 10.1007/s10670-011-9321-z | issue = 1 | journal = Erkenntnis | pages = 41–48 | title = On Reichenbach's causal betweenness | volume = 76 | year = 2011| arxiv = 0902.1763| s2cid = 14123568 }}.</ref> ==References== {{reflist}} [[Category:NP-complete problems]] [[Category:Order theory]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:About
(
edit
)
Template:Citation
(
edit
)
Template:Harvtxt
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)