Nearest polar opposite economies

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
al.khwarizmi
Above Average
Above Average
Posts: 23
Joined: Fri Jan 30, 2015 5:34 am

Nearest polar opposite economies

Post by al.khwarizmi »

As is well known, trading is (generally) most profitable between Poor Agricultural and Rich Industrial planets. I have been doing "milk runs" between Sotiera and Inera and this has been going well but I wondered if I could do better. It turns out that I could These are the 10 closest pairs of Rich Industrial and Poor Agricultural planets in Galaxy 1:

Code: Select all

('Xexedi', 'Laenin') 2.2360679775
('Malama', 'Qudira') 7.28010988928
('Esbiza', 'Qudira') 8.0622577483
('Enzaer', 'Bivea') 8.60232526704
('Isence', 'Zarece') 9.48683298051
('Gerete', 'Ususor') 9.48683298051
('Zasoceat', 'Riantiat') 9.48683298051
('Anlama', 'Tiinlebi') 9.8488578018
('Ensoreus', 'Ararus') 13.0384048104
('Onlema', 'Xexeti') 13.6014705087
In fact, every one of these pairs has a shorter distance between its members than the Sotiera-Inera route, leaving plenty of witchspace fuel to speed things along and/or give leeway to claim bounties. So I left that route.

Is anyone interested in further calculations such as for other galaxies, taking account of government types, etc.?
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Nearest polar opposite economies

Post by spara »

Numbers and statistics are always interesting although in games like this they tend to take out the element of finding.

Out of interest, what are those numbers representing as they seem to not be game distances?
al.khwarizmi
Above Average
Above Average
Posts: 23
Joined: Fri Jan 30, 2015 5:34 am

Re: Nearest polar opposite economies

Post by al.khwarizmi »

spara wrote:
Out of interest, what are those numbers representing as they seem to not be game distances?
Relative Euclidean distance based on the following:

http://wiki.alioth.net/index.php/Oolite ... t/Galaxy_1

For a sense of scale, at a relative distance of about 15 there is a pretty comfortable amount of witchspace fuel between planets for various purposes, I think about 40% left.
Last edited by al.khwarizmi on Mon Mar 16, 2015 5:45 am, edited 1 time in total.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Nearest polar opposite economies

Post by spara »

Ok. To do this properly, you need to use the game distance formula which is not exactly euclidian. It's 0.4*math.floor(sqrt(dx*dx + dy/2*dy/2)) in pseudo language. Dividing y coordinates by 2 is just scaling, but rounding the sqrt with floor makes the difference.
al.khwarizmi
Above Average
Above Average
Posts: 23
Joined: Fri Jan 30, 2015 5:34 am

Re: Nearest polar opposite economies

Post by al.khwarizmi »

spara wrote:
Ok. To do this properly, you need to use the game distance formula which is not exactly euclidian. It's 0.4*math.floor(sqrt(dx*dx + dy/2*dy/2)) in pseudo language. Dividing y coordinates by 2 is just scaling, but rounding the sqrt with floor makes the difference.
That is interesting. The imperfect calculations I've done have been useful nonetheless. If there is any further interest in this issue I will include the more accurate ones.
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Re: Nearest polar opposite economies

Post by ClymAngus »

Yeah, why the hell not? I said I was only going to do the one chart and I ended up mapping all 8. If you see something that hasn't been done that can add the the sum total of the ooniverse. Might as well eh? Even as purely a personal challenge.
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2691
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: Nearest polar opposite economies

Post by spara »

ClymAngus wrote:
Yeah, why the hell not?
Indeed. Maybe a web page making these calculations based on user choices.
al.khwarizmi
Above Average
Above Average
Posts: 23
Joined: Fri Jan 30, 2015 5:34 am

Re: Nearest polar opposite economies

Post by al.khwarizmi »

I'm not so sure I want to get hosting space and learn Javascript just for this purpose. I will, however, do custom calculations for whoever wants them.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Nearest polar opposite economies

Post by Diziet Sma »

al.khwarizmi wrote:
I'm not so sure I want to get hosting space
That's the easy part.. just make a page on the Oolite Wiki.. :wink:
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
al.khwarizmi
Above Average
Above Average
Posts: 23
Joined: Fri Jan 30, 2015 5:34 am

Re: Nearest polar opposite economies

Post by al.khwarizmi »

Diziet Sma wrote:
al.khwarizmi wrote:
I'm not so sure I want to get hosting space
That's the easy part.. just make a page on the Oolite Wiki.. :wink:
Word ... maybe.
User avatar
ClymAngus
---- E L I T E ----
---- E L I T E ----
Posts: 2514
Joined: Tue Jul 08, 2008 12:31 am
Location: London England
Contact:

Re: Nearest polar opposite economies

Post by ClymAngus »

Well, you know. We don't want to push people into doing things they don't want to. If your going to do something (anything for that matter) do it because you want to or your bartering your time for gain.

No shame in saying "I've got better things to spend my time on right now." It's a game at the end of the day, no one is going to think any less of you.

When Yoda said; Do or do not there is no try. "Do not" was a valid option. :D
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Nearest polar opposite economies

Post by Diziet Sma »

ClymAngus wrote:
Well, you know. We don't want to push people into doing things they don't want to. If your going to do something (anything for that matter) do it because you want to or your bartering your time for gain.

No shame in saying "I've got better things to spend my time on right now." It's a game at the end of the day, no one is going to think any less of you.

When Yoda said; Do or do not there is no try. "Do not" was a valid option. :D
Agreed.. I was merely pointing out that hosting isn't really a problem. Learning Javascript, on the other hand.. yes, that's a big task.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
al.khwarizmi
Above Average
Above Average
Posts: 23
Joined: Fri Jan 30, 2015 5:34 am

Re: Nearest polar opposite economies

Post by al.khwarizmi »

I should probably Javascript anyway at some point. I don't know if I should do it now.
Post Reply