package com.d2v.web.task;

import com.d2v.web.utils.SimpleDB;
import com.d2v.web.vo.DocKeywordListMapVO;
import com.d2v.web.vo.TargetDocVecVO;
import org.deeplearning4j.models.embeddings.WeightLookupTable;
import org.deeplearning4j.models.embeddings.wordvectors.WordVectors;
import org.deeplearning4j.models.word2vec.VocabWord;
import org.deeplearning4j.models.word2vec.wordstore.VocabCache;
import org.joda.time.DateTime;

import java.util.*;
import java.util.concurrent.atomic.AtomicInteger;

public class DocSimilarityMetaConfig {

    public static int SOURCE_DATA_SIZE;
    public static int LAYER_SIZE;
    public static Map<Integer, DocKeywordListMapVO> TARGET_KEYWORD_LIST;

    public static VocabCache<VocabWord> VOCAB;
    public static WeightLookupTable<VocabWord> LOOKUP_TABLE;

    public static Map<Integer, TargetDocVecVO> TARGET_DOC_VECTOR;
    public static AtomicInteger WORKING_COUNT = new AtomicInteger();
    public static SimpleDB simpleDB;
    public static String ERROR_MESSAGE = "";

    public static int DOC_ID_MAP_CHECK = 0;
    public static Map<String, String> DOC_ID_MAP = new HashMap<>();

    public static String SOURCE_DOMAIN = "";

    public static Date START_TIME;
    public static Date END_TIME;
    public static int CODE = 200;
    public static List<String> exceptions = new ArrayList<>();
    public static String state = "";
    public static String step = "";

    public static int prevVer = 0;
    public static int procVer = 0;

    public static String JURL = "";
}
