HomeSort by relevance Sort by last modified time
    Searched refs:EPSILON (Results 1 - 25 of 31) sorted by null

1 2

  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
RuleClosureTransition.java 49 super(Label.EPSILON, ruleStart);
Label.java 36 * tokens. It can be an epsilon transition. It can be a semantic predicate
37 * (which assumes an epsilon transition) or a tree of predicates (in a DFA).
45 public static final int EPSILON = -5;
47 public static final String EPSILON_STR = "<EPSILON>";
49 /** label is a semantic predicate; implies label is epsilon also */
75 /** We have labels like EPSILON that are below 0; it's hard to
194 return label==EPSILON;
283 // labels must be the same even if epsilon or set or sempred etc...
  /external/replicaisland/src/com/replica/replicaisland/
Utils.java 21 private static final float EPSILON = 0.0001f;
24 return close(a, b, EPSILON);
27 public final static boolean close(float a, float b, float epsilon) {
28 return Math.abs(a - b) < epsilon;
  /external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
NFAFactory.java 40 * No optimization is done to remove unnecessary epsilon edges.
79 * and throw away any epsilon transitions used to link up simple elements.
98 // bypass epsilon transition and point to what the epsilon's
99 // target points to unless that epsilon transition points to
249 transitionBetweenStates(left, right, Label.EPSILON);
254 /** Build what amounts to an epsilon transition with a semantic
273 /** Build what amounts to an epsilon transition with an action.
331 /** From A B build A-e->B (that is, build an epsilon arc from right
343 transitionBetweenStates(A.right, B.left, Label.EPSILON);
    [all...]
CompositeGrammar.java 78 * like EPSILON. Char/String literals and token types overlap in the same
127 typeToTokenList.set(Label.NUM_FAUX_LABELS+Label.EPSILON, Label.EPSILON_STR);
136 tokenIDToTypeMap.put("<EPSILON>", Utils.integer(Label.EPSILON));
GrammarAST.java 507 // can't have an empty alt, insert epsilon
508 result.add(0, new GrammarAST(ANTLRParser.EPSILON, "epsilon"));
  /external/srec/srec/clib/
jacobi.c 32 #undef EPSILON
33 #define EPSILON 0.00000001
91 if (sum < EPSILON) /* normal convergence */
115 if ((iter >= 4) && (g < EPSILON*fabs(d[i]))
116 && (g < EPSILON*fabs(d[j])))
124 if (g < EPSILON*fabs(h))
  /external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
ANTLRv3Tree.g 124 | ^(ALT EPSILON EOA)
195 | ^(ALT EPSILON EOA)
ANTLRv3.g 48 EPSILON;
217 | -> ^(ALT[prevToken,"ALT"] EPSILON[prevToken,"EPSILON"] EOA["EOA"])
364 | /* empty rewrite */ -> ^(ALT["ALT"] EPSILON["EPSILON"] EOA["EOA"])
DefineGrammarItemsWalker.g 458 | EPSILON
603 : {grammar.buildAST()}? => ^( a=ALT ( ( rewrite_element )+ | EPSILON ) EOA )
674 : ^( ALT EPSILON EOA )
TreeToNFAConverter.g 134 Transition e = new Transition( Label.EPSILON, n );
138 Transition followEdge = new Transition( Label.EPSILON, following );
245 start.addTransition(new Transition(Label.EPSILON, g.left));
259 g.right.addTransition(new Transition(Label.EPSILON,end));
373 | EPSILON {$g = factory.build_Epsilon();}
ANTLR.g 84 EPSILON;
696 | // epsilon alt
697 -> ^(ALT[$start,"ALT"] EPSILON[input.LT(-1),"epsilon"] EOA[input.LT(-1),"<end-of-alt>"])
926 -> {!stream_rewrite_element.hasNext()}? ^(ALT[LT(1),"ALT"] EPSILON["epsilon"] EOA["<end-of-alt>"])
930 -> ^(ALT[LT(1),"ALT"] EPSILON["epsilon"] EOA["<end-of-alt>"])
LeftRecursiveRuleWalker.g 259 | EPSILON
ANTLRTreePrinter.g 415 | EPSILON
AssignTokenTypesWalker.g 376 | EPSILON
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
StochasticLinearRankerWithPrior.java 27 private final float EPSILON = 0.0001f;
141 mAutoAlpha = (mPriorRankerPerf + EPSILON) / (mUserRankerPerf + mPriorRankerPerf + EPSILON);
  /external/libvorbis/lib/
lsp.c 309 #define EPSILON 10e-7
337 if(denom<EPSILON)denom=EPSILON;
340 if(denom>-(EPSILON))denom=-(EPSILON);
  /frameworks/base/services/input/tests/
InputReader_test.cpp 34 static const float EPSILON = 0.001f;
    [all...]
  /external/opencv/cvaux/src/
_cvvm.h 58 /* Epsilon and real zero */
59 #define EPSILON 1.e-4
60 //#define REAL_ZERO(x) ( (x) < EPSILON && (x) > -EPSILON)
  /frameworks/base/core/java/android/widget/
EdgeEffect.java 72 private static final float EPSILON = 0.001f;
390 if (t >= 1.f - EPSILON) {
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
EdgeEffect.java 82 private static final float EPSILON = 0.001f;
359 if (t >= 1.f - EPSILON) {
  /external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
ANTLRv3.g 49 EPSILON;
221 | -> ^(ALT[prevToken,"ALT"] EPSILON[prevToken,"EPSILON"] EOA["EOA"])
360 | /* empty rewrite */ -> ^(ALT["ALT"] EPSILON["EPSILON"] EOA["EOA"])
  /frameworks/native/services/surfaceflinger/
Transform.cpp 47 static const float EPSILON = 0.0f;
50 return fabs(f) <= EPSILON;
  /frameworks/base/libs/hwui/
Matrix.cpp 36 static const float EPSILON = 0.0000001f;
72 return fabs(f) <= EPSILON;
  /external/webkit/Source/WebCore/platform/graphics/android/rendering/
ShaderProgram.cpp 43 #define EPSILON 0.00001f
    [all...]

Completed in 644 milliseconds

1 2