From: Phil D. <de...@gm...> - 2010-04-06 09:17:15
|
Also, the JGraph and JGraphT jar files weren't in the library settings for the project...this might actually just be me being a little stupid with eclipse :p. I've got it running now and I'm going to have a play with the network info stuff Phil On 6 April 2010 09:58, Phil Davies <de...@gm...> wrote: > Stefan, > > This all sounds really good, I went to have a test this morning and > the project properties has a reliance on junit.jar located in > c:\java\eclipse521 so it doesn't build straight off the CVS version at > the moment. > > I can fix this locally to test obviously but I think the checked in > version needs to be able to run standalone... > > Phil > > On 5 April 2010 20:12, <ste...@we...> wrote: >> Just a short update about my commit yesterday, collecting all my changes since >> the last release. All stuff is pretty rough so far. >> >> 1) Map Correction >> Activating map correction (Administrator => allows to up- and downgrade any >> hex of the map free of any restriction (except that the tile must exist in >> the potential upgrade path of the initial tile of the hex). Tokens are not >> handled so far (especially for those cases where tokens have to be relaid). >> >> Implementation is analog to cash corrections: >> MapCorrectionManager creates and executes MapCorrectionActions. The >> intermediate steps of tile laying are handled by the Manager class as well >> (different to the LayTileAction, where the intermediate steps are controlled >> by the UI classes). >> >> 2) Network Info >> As a preliminary step to route connectivity and route calculation the map and >> tile information is used to built a network graph. A visualization can be >> displayed in the MapPanel under Info => NetworkInfo for the complete map or >> the routes available for each company. >> >> Based on the JGraphT library for the datastructure and JGraph for the visual >> part. It might be necessary to add those to the Eclipse classpath manually, >> if building through Eclipse. The ant build script is adapted. >> >> Implementation: >> NetworkEdges and -Vertexes are the buidling blocks. NetworkIterator implements >> the rules for a DFS iterator for the specific rules to traverse an 18xx map. >> NetworkGraphBuilder contains methods to generate and visualize the graph. >> >> 3) Export >> Allows to export the map as CSV-File with HexID, TileID and Orientation. >> >> Stefan >> >> ------------------------------------------------------------------------------ >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> _______________________________________________ >> Rails-devel mailing list >> Rai...@li... >> https://lists.sourceforge.net/lists/listinfo/rails-devel >> > |