Skip to content

Commit

Permalink
Fix vspliting to add both cluster instead just one
Browse files Browse the repository at this point in the history
  • Loading branch information
cbravo135 committed Jul 18, 2024
1 parent 70e0441 commit 619d83b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ private ArrayList<List<LCRelation>> hasV(List<LCRelation> cluster){
}
vloc.add(maxChan);
ArrayList<List<LCRelation>> clusters = new ArrayList<List<LCRelation>>();
//System.out.println("Start of New Clustering");
for(int I=0;I<vloc.size()-1;I++){
List<LCRelation> clusterS = new ArrayList<LCRelation>();
for(int II=vloc.get(I);II<=vloc.get(I+1);II++){
Expand All @@ -350,9 +351,11 @@ private ArrayList<List<LCRelation>> hasV(List<LCRelation> cluster){
int channel_number = sid_helper.getElectrodeValue(id);
if(channel_number==II){
clusterS.add(cluster.get(III));
//System.out.println(channel_number);
}
}
}
//System.out.print("\n\n");
clusters.add(clusterS);
}
if(clusters.size()==0){
Expand Down

0 comments on commit 619d83b

Please sign in to comment.