Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 203477

Summary: Transportation Network Definition and Implementation Needs to be Clarified
Product: z_Archived Reporter: Justin Lessler <justin>
Component: OHFAssignee: Justin Lessler <justin>
Status: CLOSED FIXED QA Contact: Daniel Ford <webdaford>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Outline of the two different types of transportation networks
none
Outline of two different types of transporatiation networks
none
Patch containing new edge definitions
none
ZIP file containing exported new projects for the transport network
none
Fixes build problems and assertion failed error
none
mylyn/context/zip none

Description Justin Lessler CLA 2007-09-14 15:04:15 EDT
The transportation network implementation right now is unclear. We are making efforts to define a way of implementing the transportation network that is simple and allows for disease transmission during transportations and will require a minimum of modification for new models.
Comment 1 Justin Lessler CLA 2007-09-25 12:41:53 EDT
Created attachment 79145 [details]
Outline of the two different types of transportation networks

Defines "Packet Style" and "Pipe Style" transpotation networks.
Comment 2 Justin Lessler CLA 2007-10-04 23:25:36 EDT
Created attachment 79786 [details]
Outline of two different types of transporatiation networks

Re attaching as a binary file
Comment 3 Justin Lessler CLA 2007-11-17 16:49:04 EST
Created attachment 83161 [details]
Patch containing new edge definitions

New Edges attached to the existing project
Comment 4 Justin Lessler CLA 2007-11-17 16:50:40 EST
Created attachment 83162 [details]
ZIP file containing exported new projects for the transport network

Contains the new transport projects defining the network
Comment 5 Justin Lessler CLA 2007-11-17 16:52:15 EST
Added two new edge types to the definitions project and a new project defining packet style and pipe style transportation networks as described in the files. To apply changes one must both apply the patch and import the new projects.
Comment 6 Daniel Ford CLA 2007-11-19 14:02:28 EST
committed the patch and new projects, but I forgot to run org.eclipse.ohf.stem.tests.definitions (as a Junit Plugin test).  That test failed with missing class definition exceptions.  After adding missing dependencies to the Manifest.MF file it ran, but with JUnit failures.
Comment 7 Justin Lessler CLA 2007-11-19 14:24:16 EST
The repository version for me has build failures. Once I fix these it runs with no unit test failures.
Comment 8 Daniel Ford CLA 2007-11-19 15:12:58 EST
I'm running with assertions enabled and I get this:

java.lang.AssertionError
	at org.eclipse.ohf.stem.definitions.edges.impl.MixingEdgeImpl.setDirected(MixingEdgeImpl.java:71)
	at org.eclipse.ohf.stem.core.graph.tests.EdgeTest.testIsDirectedAt__Node(EdgeTest.java:149)
	...deleted...
Comment 9 Justin Lessler CLA 2007-11-19 15:24:16 EST
Created attachment 83277 [details]
Fixes build problems and assertion failed error

Additional patch to fix the problems mentioned in the last 2 comments.
Comment 10 Justin Lessler CLA 2007-11-19 15:24:19 EST
Created attachment 83278 [details]
mylyn/context/zip
Comment 11 Daniel Ford CLA 2007-11-19 15:27:20 EST
new patch fixes things
Comment 12 Daniel Ford CLA 2007-11-19 15:28:05 EST
committed