From: Michael A. <out...@gm...> - 2014-02-10 13:58:45
|
The reason I did that originally was to determine when a foreign investor was connected to it's parent company. I was having trouble with the existing implementation because it was "connecting" through an off-map station (going in one side and out the other). I had thought at the time that there was no other way I could do it. As it turns out, a handful of weeks after that, I noticed that the off-map station was defined wrong in the XML. I suspect that once it was defined correctly (which I did), that the original NetworkCompanyGraph would have worked - but I wasn't sure it was worth changing it back until 2.0. The function that has to work is Investor_1880::isConnectedtoLinkedCompany() Mike On Mon, Feb 10, 2014 at 5:17 AM, Stefan Frey <ste...@we...> wrote: > Martin & Mike: > I can do later today, however could someone of you remind me for what > reason you have sub-classed NetworkCompanyGraph? I have done some > changes in Rails 2.0 to those classes to support tile laying and usually > it is better to use the interfaces (here most likely the > NetworkGraphModifier) instead of sub-classes. > Stefan > > > On 02/09/2014 11:31 PM, Michael Alexander wrote: > > I'll take a look, but it will probably not be until mid-week. > > > > Mike > > > > > > On Sun, Feb 9, 2014 at 2:53 PM, Martin Brumm > > <dr....@t-... <mailto:dr....@t-...>> > wrote: > > > > Hi Stefan, Brett, Erik, Mike & Rest of the crew, > > > > i created a branch of Rails_2_develop called Rails_2_develop_1880 > since > > i didnt want to mess with Stefans work. > > In that branch if i assume right that Stefan started from 1.7.12 with > > his work in Rails_2_develop everything but some local side projects > by > > me (1824, 1837) has been rebased from 1.8.7+ on Rails 2.0. Three bugs > > remain that i cant fix with my current understanding of the Network > > Code :). > > > > public SimpleGraph<NetworkVertex, NetworkEdge> > > createConnectionGraph(boolean addHQ) { > > > > in NetworkCompanyGraph_1880 contains 3 bug indications. If anyone so > > brave could have a look at the code and fix that, it should be ready > for > > extensive testing with a number of save files :) > > > > Kind Regards, > > Martin > > > > > > > ------------------------------------------------------------------------------ > > Managing the Performance of Cloud-Based Applications > > Take advantage of what the Cloud has to offer - Avoid Common > Pitfalls. > > Read the Whitepaper. > > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > > _______________________________________________ > > Rails-devel mailing list > > Rai...@li... > > <mailto:Rai...@li...> > > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > > > > > ------------------------------------------------------------------------------ > Managing the Performance of Cloud-Based Applications > Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. > Read the Whitepaper. > > http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |