Skip to content

Commit

Permalink
add comments for CCN code
Browse files Browse the repository at this point in the history
  • Loading branch information
mdavis95 committed Feb 16, 2024
1 parent 0e8796a commit 58f7e71
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@
import static com.mongodb.client.model.Filters.lte;

/**
* Created by Matt Davis on 2/11/16.
*
* @author mdavis
* Base class for interacting with the mongo database of citations
* Use mongoURI property to set path to mongodb
*/
public class MongoCited {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.concurrent.atomic.AtomicInteger;

/**
* Helps name threading in a logical way for logging and debugging
* Very similar to NamedThreadFactory in lucene but keeps the client from depending on lucene
*/
public class NamedThreadFactory implements ThreadFactory {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.util.function.BiFunction;

/**
* Generates a CSV output (header and individual lines) based on the settings selected
* Created by mdavis on 6/27/17.
*/
public class SimConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
import java.util.Map;
import java.util.TreeMap;

/**
* Handles high speed similarity computation from sparse vectors (cosine, jaccard, minSim) and difference computation
*/
public class SparseVector {

private final int id;
Expand Down

0 comments on commit 58f7e71

Please sign in to comment.