diff 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
line wrap: on
line diff
--- a/memo.txt	Wed Jun 13 01:29:02 2012 +0900
+++ b/memo.txt	Tue Jun 19 23:38:31 2012 +0900
@@ -21,4 +21,23 @@
   ・ Node : Record の Property で Attribute を表現
   ・ TreeGroup : Node で表すべき?
   ・ Tree : TreeNode を継承している よって Node で表す、 Children や Links は PropertySequence による.
-  ・ Link : Node で表す。
\ No newline at end of file
+  ・ Link : Node で表す。
+  
+2012/06/15
+ ・Functional Java を使って PropertySequence を実装するといいかも?
+ ・Record , PropertySequence の hashCode , equals の実装について、ちゃんとテストを作ること!(重要)
+ ・なるべく、equals と hashCode はオーバーライドしないようにする、独自の比較メソッドを提供する。
+ ・Table , Record , PropertySequence に Atomic なオペレーションを追加する
+  ・Table は Record の作成に CAS を追加する
+  ・Record は Map と PropertySequence に CAS を追加する。
+  ・PropertySequence は・・・いらないか・・
+  ・Jungle の API から getTreeGroups を削除した
+  ・Table , Record , PropertySequence では足りない、もっと美味いやりかたがあるはず
+  
+2012/06/19
+ ・Graph API を定義することにした
+  ・ Graph , Vertex , Vertexes
+ ・Neo4j で言うと
+  ・ GraphDB , Node , Iterator<Relationship>
+ ・とりあえずこれで実装してみる。
+ ・今日は、SimpleVertexes をほぼ完成させた、あとすこしとテストコードを追加すること。
\ No newline at end of file