Package ch.epfl.lbd.datamining.structure

Examples of ch.epfl.lbd.datamining.structure.Combiner.generate()


  @Override
  public void consume(Trajectory trj){
    boolean shared = false;
    //retrieving all trajectory combinations that has at least 3 moves
    Combiner trjCombinations = new Combiner();
    ArrayList<ArrayList<Integer>> movesId = trjCombinations.generate(trj.getNumberOfMoves(), 3);
   
    for(int j = 0 ; j < movesId.size() ; j++ ){
      Trajectory subTrajectory = trj.getSubTrajectory(movesId.get(j));
      for(int i = 0 ; i < this.outputs.size() ; i++){
        if(similar(subTrajectory,this.outputs.get(i))){
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.