comparison memo.txt @ 4:761d04aecfcb

added Graph API and some implementation
author shoshi <shoshi@cr.ie.u-ryukyu.ac.jp>
date Tue, 19 Jun 2012 23:38:31 +0900
parents 9eb9fabd9f29
children 07b26b4b21e0
comparison
equal deleted inserted replaced
3:9eb9fabd9f29 4:761d04aecfcb
20 ・これを用いて Node , TreeGroup , Tree , TreeNode , Link を作成する 20 ・これを用いて Node , TreeGroup , Tree , TreeNode , Link を作成する
21 ・ Node : Record の Property で Attribute を表現 21 ・ Node : Record の Property で Attribute を表現
22 ・ TreeGroup : Node で表すべき? 22 ・ TreeGroup : Node で表すべき?
23 ・ Tree : TreeNode を継承している よって Node で表す、 Children や Links は PropertySequence による. 23 ・ Tree : TreeNode を継承している よって Node で表す、 Children や Links は PropertySequence による.
24 ・ Link : Node で表す。 24 ・ Link : Node で表す。
25
26 2012/06/15
27 ・Functional Java を使って PropertySequence を実装するといいかも?
28 ・Record , PropertySequence の hashCode , equals の実装について、ちゃんとテストを作ること!(重要)
29 ・なるべく、equals と hashCode はオーバーライドしないようにする、独自の比較メソッドを提供する。
30 ・Table , Record , PropertySequence に Atomic なオペレーションを追加する
31  ・Table は Record の作成に CAS を追加する
32  ・Record は Map と PropertySequence に CAS を追加する。
33  ・PropertySequence は・・・いらないか・・
34 ・Jungle の API から getTreeGroups を削除した
35 ・Table , Record , PropertySequence では足りない、もっと美味いやりかたがあるはず
36
37 2012/06/19
38 ・Graph API を定義することにした
39 ・ Graph , Vertex , Vertexes
40 ・Neo4j で言うと
41 ・ GraphDB , Node , Iterator<Relationship>
42 ・とりあえずこれで実装してみる。
43 ・今日は、SimpleVertexes をほぼ完成させた、あとすこしとテストコードを追加すること。