--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can ++ two arrays together
--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I don't know how you are getting the data into the code
Are you modeling a real railway? From where do you get the information that you put in the code?
If it's just for fun then do whatever you're comfortable with, but ultimately it's well worth it to learn how to use a database.
Are you modeling a real railway?
From where do you get the information that you put in the code?
If it's just for fun then do whatever you're comfortable with,
but ultimately it's well worth it to learn how to use a database.
On Thu, Apr 9, 2015, 2:10 PM bertlhf <be...@analytag.com> wrote:
On Thursday, April 9, 2015 at 6:57:34 PM UTC+2, nafg wrote:
Hi Naftoli,
Are you modeling a real railway?
I am modelling an historic railway network: the railway network as it was in Europe in 1914 before World War 1. In this time you had on the continent, apart from a much more extensive railway network than today, 3 empires and 3 emperors: the Russian Czar, the German Kaiser and Franz-Joseph, the Austro-Hungarian emperor. By the way, there was one point where the 3 empires touched each other: the famous "Dreikaiserreichecke"
From where do you get the information that you put in the code?
I have several historic time tables, but the most important (and complete) ones are the Reichskursbuch 1914 and the Österreichisches Kursbuch 1914
If it's just for fun then do whatever you're comfortable with,
It is indeed just a hobby, and indeed I'm comfortable editing arrays in plain text files. The type of the vertex and edge array represents the complete logic of my network and it gives me all the structure I need.
but ultimately it's well worth it to learn how to use a database.
How could I use a database given that the input GraphX needs to construct a graph is a vertex array and an edge array? Converting the database to an array in some way?
Correct
And what does it bring me?
See Oliver's last paragraph :)
I'm not familiar with databases and I'm a little bit reluctant to learn something additional which I don't strictly need for my purpose.
OK, but I predict you will sooner or later :)