On 8 jul 2009, at 01:31, Anders Nawroth wrote:
Hi!
Thanks for your comment and your idea of wikifying it. I'm all
for it. If you need additional info, or if you have ideas for
adapting/extending the demo (and still keeping it simple), let me
know.
What about a little visualization
On 7 jul 2009, at 20:03, Ajay Sharma wrote:
Excellent exampleshow the capabilites of graph based DB and neo
rules
it.
btw how are you planning to integrate the UI??
At least for the time being, I think I just use jirb as my UI.
I must experience how it 'feels' navigating with it a
Hi!
What about a little visualization (see attachment)? Still needs a
fix for the cases where there are multiple relationships between two
nodes.
Looks nice! Found the fix already?
I've looked into this now. I used Neoclipse for the visualization, and
it relies on a toolkit
On 7 jul 2009, at 14:17, Anders Nawroth wrote:
Hi Bert!
I think I solved the traverser part of my railnet example demo. I
extended the demo a little bit and made an as-complete-as-possible
write-up of it. I learned a lot with this demo exercise. The write-
up is
below, maybe of interest
Excellent exampleshow the capabilites of graph based DB and neo rules
it.
btw how are you planning to integrate the UI??
would you suggest using JRUBY for heavier load, i'v read it has certain
issues with slow script loading and multi threading.
regards
Ajay
On Tue, Jul 7, 2009 at 6:03
Hi,
Below a little piece of code for a simple railway network demo.
I switched to the jruby implementation of Neo4j. As an enduser, I
found its use (via jirb) very intuitive.
I enjoyed the exercise very much.
A. ailnet.rb file
===
require 'rubygems'
require 'neo4j/auto_tx'
Here's the code directly in the mail, since filters makes it difficult
to send attachments sometimes:
package com.windh.eqn.util;
import org.neo4j.api.core.*;
public class RailNetApp
{
public enum MyRelationshipTypes implements RelationshipType
{
CONNECTION,
On 30 jun 2009, at 11:47, Mattias Persson wrote:
Yep, those errors are easily fixed. Your private methods needs to be
static as well. I fixed those errors (see attachment).
Yes, this fixed it!
~ $ cd /Users/bert/private/sandbox/neo
neo $ bin/build/rail-net-app
neo $ bin/rail-net-app
Train
On Tue, Jun 30, 2009 at 1:25 PM, Bert Fitié b...@analytag.com wrote:
Btw, what is the best way to get user input into Neo4j? The request
for the outgoing paths from station Abc is now hard-coded; how could I
enter the station on the command line?
I don't know if there's already a project to
On 30 jun 2009, at 13:25, Bert Fitié wrote:
In the mean time I turn to the traverser and custom evaluator code.
-- Bert
Hi, Matthias
The code below is running (after making the PathEvaluator class also
static) but the output is not completely correct. Output:
neo $
On 30 jun 2009, at 14:35, Moandji Ezana wrote:
On Tue, Jun 30, 2009 at 1:25 PM, Bert Fitié b...@analytag.com wrote:
Btw, what is the best way to get user input into Neo4j? The request
for the outgoing paths from station Abc is now hard-coded; how
could I
enter the station on the command
Google java console readln, for me it gave
http://www.java2s.com/Code/Java/JDK-6/JavaConsolereadLine.htm
/peter
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
Thanks, exactly what I needed. ( I had done Google using java
console but didn't immediately find something useful)
On 30 jun 2009, at 15:18, Peter Neubauer wrote:
Google java console readln, for me it gave
http://www.java2s.com/Code/Java/JDK-6/JavaConsolereadLine.htm
/peter
GTalk:
Just about the simplest you can get:
public class ConsoleTest {
public static void main(String[] args) {
while(true) {
String input = System.console().readLine();
System.out.println(input);
}
}
}
Obviously, you'll have to kill the program manually.
Hi,
interesting application! I'll supply some example code of how it could
look like.
Assume the neo4j is set up as follows:
public enum MyRelationshipTypes implements RelationshipType
{
CONNECTION,
}
NeoService neo = new EmbeddedNeo( neo );
Some code:
(1) Stations
Hi, Mattias
Thanks very much for your prompt reply! I will now withdraw to
quarters to study your solution and play a little bit with it.
No doubt I will come back with questions later.
-- Bert
On 29 jun 2009, at 10:22, Mattias Persson wrote:
Hi,
interesting application! I'll supply
Hi,
I'm new to the list and Neo4j (and my Java is rather rusty). I want to
investigate the easy-of-use of Neo4j for a (large) railway network
application.
(1) Nodes. The nodes of this network are railway stations.
(2) Relationships. There is only one (directed) RelationshipType (ARC)
17 matches
Mail list logo