chubbymaggie / synoptic

Automatically exported from code.google.com/p/synoptic
0 stars 0 forks source link

Instead of creating a Transition per relation, maintain a MultiRelationalTransition #238

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The current code creates a Transition instance for each relation between two 
event instances. However, this is inefficient since these event instance 
transitions are never split out, and should really be maintained in a single 
object (e.g., so that we could query the set of all relations that are incident 
on an event instance).

Change the code to turn Transition into an abstract class, and add two new 
transition types -- SingleRelationTransition and MultiRelationalTransition. 
These new types should extend Transition and maintain a single relation 
reference or references to multiple relations (where relations are Strings).

Original issue reported on code.google.com by bestchai on 28 Mar 2012 at 1:19

GoogleCodeExporter commented 9 years ago

Original comment by bestchai on 28 Mar 2012 at 1:50

GoogleCodeExporter commented 9 years ago
Completed. Merged into default with revision 794c3e17cbbb.

Original comment by bestchai on 18 Apr 2012 at 7:02