差分発生行の前後
無視リスト:
更新日時:
2014/01/31 10:00:56 (11 年 前)
更新者:
atsuko
ログメッセージ:

getPath の引数変更

パス:
BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL
ファイル:
3 変更

凡例:

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

    r29 r32  
    8282    */ 
    8383     
    84     private List<List<ClassLink>> searchPaths(OWLQueryBuilderImpl qb, int mode, boolean countLink){ 
     84    private List<List<ClassLink>> searchPaths(OWLQueryBuilderImpl qb, int mode, boolean countLinks){ 
    8585        List<List<ClassLink>> paths = new ArrayList<>(); 
    8686        ClassLink crrLink = new ClassLink(null,startClass,Direction.both,0); 
     
    9797                  // Mode 
    9898                  if ( mode == 0 ){ 
    99                       classLinks = qb.getNextClass(null, crrlp.classLink.getLinkedClassURI(), limit, countLink); 
     99                      classLinks = qb.getNextClass(null, crrlp.classLink.getLinkedClassURI(), limit, countLinks); 
    100100                  }else if ( mode == 1 ){ 
    101101                      classLinks = qb.getNextClassViaInstanceLink(null, crrlp.classLink.getLinkedClassURI(), limit);                       
  • BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/OWLQueryBuilder.java

    r31 r32  
    8181        public ClassLink[] getNextClassViaInstanceLink(String[] graphURIs, String originClass, int limit) throws Exception; 
    8282 
    83         public Path[] getPaths(String startClass, String endClass) throws Exception; 
     83        public Path[] getPaths(String startClass, String endClass, int mode, boolean countLinks) throws Exception; 
    8484        public String createSPARQL(Path path) throws Exception; 
    8585 
  • BH13SPARQLBuilder/src/org/biohackathon/SPARQLBuilder/OWL/OWLQueryBuilderImpl.java

    r31 r32  
    493493        } 
    494494 
    495         public Path[] getPaths(String startClass, String endClass, int mode, boolean countLink) throws Exception { 
     495        public Path[] getPaths(String startClass, String endClass, int mode, boolean countLinks) throws Exception { 
    496496                OWLClassGraph graph = new OWLClassGraph(startClass, endClass); 
    497                 return graph.getPaths(this, mode, countLink); 
     497                return graph.getPaths(this, mode, countLinks); 
    498498        } 
    499499