gov.llnl.ontology.mains
Class DecentralizedSearch
java.lang.Object
gov.llnl.ontology.mains.DecentralizedSearch
public class DecentralizedSearch
- extends Object
- Author:
- Keith Stevens
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecentralizedSearch
public DecentralizedSearch()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
searchFromNeighbors
public static int searchFromNeighbors(Set<String> nextTags,
Set<String> goalTags,
int maxLength,
DecentralizedSearch.TagGraph graph,
DecentralizedSearch.DistanceMatrix distanceMatrix,
OntologyReader reader)
readTagMapping
public static Map<String,String> readTagMapping(String tagMapFile)
throws Exception
- Throws:
Exception
readTagPairs
public static Set<edu.ucla.sspace.util.Pair<Set<String>>> readTagPairs(String tagPairFile)
throws Exception
- Throws:
Exception
readTags
public static Set<String> readTags(String tagList)
readTagGraph
public static DecentralizedSearch.TagGraph readTagGraph(String tagGraphFile)
throws Exception
- Throws:
Exception
readSynsetDistances
public static DecentralizedSearch.DistanceMatrix readSynsetDistances(String distanceFile,
int numSynsets,
OntologyReader reader)
throws Exception
- Throws:
Exception
Copyright © 2010-2011. All Rights Reserved.