差分発生行の前後
無視リスト:
更新日時:
2015/04/08 17:05:11 (9 年 前)
更新者:
atsuko
ログメッセージ:

コスト関数導入

ファイル:
1 変更

凡例:

変更なし
追加
削除
  • SPARQLBuilderWWW/src/java/org/biohackathon/SPARQLBuilder/OWL/Path.java

    r248 r251  
    11package org.biohackathon.SPARQLBuilder.OWL; 
    22 
    3 import java.util.List; 
     3import java.util.*; 
    44 
    55import org.json.JSONArray; 
     
    141141        //throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. 
    142142    } 
     143     
     144    public double computeCost(){ 
     145        int length = classLinks.size(); 
     146        ListIterator<ClassLink> lit = classLinks.listIterator(); 
     147        while( lit.hasNext() ){ 
     148            ClassLink cl = lit.next(); 
     149            // KOKO 
     150             
     151        } 
     152        return 1.0; 
     153    } 
    143154}