I would create a relationship per group, then the routing algorithms can 
effectively look at the right group of relationships already by type/group and 
only look into the property data as needed.

Michael

> Am 01.07.2015 um 13:04 schrieb Michael Oak <[email protected]>:
> 
> Dear N4j Community,
> 
> I have following scenario, I´d like to mirror a transportation network of a 
> logistic service provider, now to my problem:
> 
> when connecting an node (a) to node be (b), i have to take in account, that 
> there are different price rates per km/kg/cmb
> 
> So do I have the possibility to connect kind of a table on a relation, where 
> I can set up different price rates.
> 
> EXAMPLE:
> 
> (:A) -----------------------[:connection]--------------------------->(:B)
>                -    0 kg up to 100 kg x EUR/kg
>                - 100 kg up to 200 kg y EUR/kg
>                - ...
>                -   m kg up to     n kg z EUR/kg            
> 
> 
> I know that I have the opportunity to create a relationship for each group 
> (e.g m kg up to n kg z EUR/kg), but this would increase work and complexity a 
> lot.
> 
> Thanks for your help
> Best Regards
> 
> Michael
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to