public virtual float getScore(Data feature) { ScoreCachingSenone.ScoreCache scoreCache = this.scoreCache; if (feature != ScoreCachingSenone.ScoreCache.access_000(scoreCache)) { scoreCache = new ScoreCachingSenone.ScoreCache(this, feature, this.calculateScore(feature)); this.scoreCache = scoreCache; System.Threading.Thread.MemoryBarrier(); } return(ScoreCachingSenone.ScoreCache.access_100(scoreCache)); }
internal static float access_100(ScoreCachingSenone.ScoreCache scoreCache) { return(scoreCache.score); }
internal static Data access_000(ScoreCachingSenone.ScoreCache scoreCache) { return(scoreCache.feature); }