tungwaiyip.info

home

about me

links

Blog

< February 2015 >
SuMoTuWeThFrSa
1 2 3 4 5 6 7
8 91011121314
15161718192021
22232425262728

past articles »

Click for San Francisco, California Forecast

San Francisco, USA

 

Algorithm for the Turnpike Reconstruction Problem

I have spend quite some time to come up with an algorithm to the solve Turnpike problem. turnpike algorithm in Julia. A causal look at says the complexity is beyond 2^n. But in practice it compute instanteously for a data set of about 16,000 delta numbers.

Here is the description of them problem. Suppose there is n increasing integers p_1 < p_2 , ... < p_n, we are given the difference of between every pair of points. The Turnpike reconstruction problem is to reconstruct the point set p_i from the distances of the form |x_i − x_j|.

2015.02.03 comments

 

 

blog comments powered by Disqus

past articles »

 

BBC News

 

Syria: Turkey war planes launch strikes on Afrin (20 Jan 2018)

 

Kabul: Gunmen attack Intercontinental Hotel (20 Jan 2018)

 

US shutdown: Trump and Democrats blame each other (20 Jan 2018)

 

Women's marches draw crowds in US (20 Jan 2018)

 

Paul Bocuse: Top French chef dies at 91 (20 Jan 2018)

 

Ed Sheeran announces engagement (20 Jan 2018)

 

Brazil declares yellow fever emergency in Minas Gerais (21 Jan 2018)

 

Winter Olympics 2018: North Korea will send 22 athletes to Pyeongchang (20 Jan 2018)

 

Clashes continue over disputed Honduras election result (21 Jan 2018)

 

Deported from Belgium, tortured in Sudan (21 Jan 2018)

more »

 

SF Gate

 

Bay Area News (7 Jan 2012)

 

City Insider (11 Feb 2012)

 

Crime Scene (13 Feb 2012)

 

C.W Newius Column (10 Jan 2012)

 

C.W. Nevius Blog (11 Feb 2012)

 

Education News (10 Jan 2012)

 

KALW (11 Feb 2012)

 

Matier and Ross Blog (11 Feb 2012)

 

Virtual assistants still baffle some of their users (20 Jan 2018)

 

China’s economic growth looks strong — maybe too strong (20 Jan 2018)

 

Twitter analyst support piles up as turnaround gains steam (20 Jan 2018)

 

Antismoking plan may kill cigarettes, and save Big Tobacco (20 Jan 2018)

 

Facebook to start ranking news sources on trustworthiness (20 Jan 2018)

 

Amazon’s bigger Prime number; ‘Game of Thrones’ hotel; Delta pet crackdown (19 Jan 2018)

more »

 


Site feed Updated: 2018-Jan-20 18:00