Home
last modified time | relevance | path

Searched refs:term_index (Results 1 – 25 of 42) sorted by relevance

12

/dports/math/py-or-tools/or-tools-9.2/ortools/bop/
H A Dbop_ls.cc564 const TermIndex term_index(loop_term_index % terms.size());
565 const ConstraintTerm term = terms[term_index];
574 return term_index;
718 initial_term_index_[node.constraint] = node.term_index;
759 initial_term_index_[node.constraint] = node.term_index;
912 ConstraintIndex ct_to_repair, TermIndex term_index) {
914 if (term_index == OneFlipConstraintRepairer::kInvalidTerm) {
915 term_index = initial_term_index_[ct_to_repair];
918 term_index = repairer_.NextRepairingTerm(
923 repairer_.GetFlip(ct_to_repair, term_index))) {
[all …]
H A Dbop_ls.h474 bool RepairIsValid(ConstraintIndex ct_index, TermIndex term_index) const; in fast_feedback_burst_decoder()
478 sat::Literal GetFlip(ConstraintIndex ct_index, TermIndex term_index) const;
566 term_index(OneFlipConstraintRepairer::kInvalidTerm) {}
567 SearchNode(ConstraintIndex c, TermIndex t) : constraint(c), term_index(t) {}
569 TermIndex term_index;
/dports/games/widelands/widelands-build21/utils/
H A Dgenerate_glossary.py63 term_index = 0
71 term_index = colum_counter
81 entry.term = row[term_index].strip()
102 term_index = 0
112 term_index = colum_counter
129 entry.term = row[term_index].strip()
143 term_index = 0
152 term_index = colum_counter
161 entry.term = row[term_index].strip()
/dports/math/yices/yices-2.6.2/src/context/
H A Dassumption_stack.c344 init_hash_index(&stack->term_index); in init_assumption_stack()
354 delete_hash_index(&stack->term_index); in delete_assumption_stack()
364 reset_hash_index(&stack->term_index); in reset_assumption_stack()
382 alloc_hash_index(&stack->term_index); in extend_assumption_stack()
410 remove_from_hash_index(&stack->term_index, stack->data[i].term, i); in assumption_stack_pop()
419 if (hash_index_needs_cleanup(&stack->term_index)) { in assumption_stack_pop()
420 cleanup_hash_index(&stack->term_index, stack->data, key_term); in assumption_stack_pop()
443 add_to_hash_index(&stack->term_index, t, i, stack->data, match_term); in assumption_stack_add()
448 if (hash_index_needs_resize(&stack->term_index)) { in assumption_stack_add()
449 resize_hash_index(&stack->term_index, stack->data, key_term); in assumption_stack_add()
[all …]
H A Dassumption_stack.h102 hash_index_t term_index; member
/dports/textproc/py-langid/unsupported-Python-2.7/train/
H A DLDfeatureselect.py59 term_index = defaultdict(Enumerator())
65 term_id = term_index[term]
71 terms = sorted(term_index, key=term_index.get)
H A DIGweight.py96 term_index = defaultdict(Enumerator())
104 term_index[key]
107 num_term = len(term_index)
112 for term,term_id in term_index.iteritems():
150 terms = sorted(term_index, key=term_index.get)
/dports/science/pcmsolver/pcmsolver-1.3.0/external/libtaylor/
H A Dunittest_taylor.cpp55 assert(i == p.term_index(exps)); in printpoly()
223 if (index_tester.term_index(exponents1) != 12 || in main()
224 index_tester.term_index(exponents2) != 8) in main()
236 if (fabs(nchoosek[nchoosek.term_index(ij)] - in main()
262 tens_cover[tens_cover.term_index(ijk)] = tens_t[i][j][k]; in main()
271 if (error_measure(tens_res[i][j][k],tens_cover_out[tens_cover_out.term_index(ijk)])>1e-14) in main()
274 tens_res[i][j][k] << " vs " << tens_cover_out[tens_cover_out.term_index(ijk)] << endl; in main()
/dports/science/xcfun/xcfun-2.1.1-1-gf87ca0e/external/upstream/taylor/
H A Dunittest_taylor.cpp52 assert(i == p.term_index(exps)); in printpoly()
198 if (index_tester.term_index(exponents1) != 12 || in main()
199 index_tester.term_index(exponents2) != 8) { in main()
209 if (fabs(nchoosek[nchoosek.term_index(ij)] - stupid_binomial(j, i)) > 1e-15) { in main()
231 tens_cover[tens_cover.term_index(ijk)] = tens_t[i][j][k]; in main()
240 tens_cover_out[tens_cover_out.term_index(ijk)]) > 1e-14) { in main()
242 << tens_cover_out[tens_cover_out.term_index(ijk)] << endl; in main()
/dports/science/py-OpenFermion/OpenFermion-1.3.0/src/openfermion/measurements/
H A Dequality_constraint_projection.py114 term_index = linearize_term(term, n_orbitals)
115 constraint_matrix[constraint_number, term_index] = coefficient
134 term_index = linearize_term(term, n_orbitals)
135 vectorized_operator[term_index] = coefficient
/dports/math/py-or-tools/or-tools-9.2/ortools/constraint_solver/
H A Dsched_constraints.cc416 void LeafChanged(int term_index) { in LeafChanged() argument
417 ReduceDomain(MaxDepth(), term_index, VarStartMin(term_index), in LeafChanged()
418 VarStartMax(term_index), VarEndMin(term_index), in LeafChanged()
419 VarEndMax(term_index), VarPerformed(term_index)); in LeafChanged()
421 const int parent = Parent(term_index); in LeafChanged()
427 IntervalVar* const var = vars_[term_index]; in LeafChanged()
439 PushUp(term_index); in LeafChanged()
/dports/math/py-pandas/pandas-1.2.5/pandas/core/computation/
H A Dalign.py75 term_index = [i for i, term in enumerate(terms) if hasattr(term.value, "axes")]
76 term_dims = [terms[i].value.ndim for i in term_index]
80 ndims = Series(dict(zip(term_index, term_dims)))
89 for value in (terms[i].value for i in term_index):
/dports/misc/py-eemeter/eemeter-3.1.0/eemeter/
H A Dtransform.py647 term_index = remaining_index[: next_index + 1]
663 index=term_index,
668 actual_start_date=term_index[0],
669 actual_end_date=term_index[-1],
670 actual_term_length_days=(term_index[-1] - term_index[0]).days,
/dports/textproc/py-gensim/gensim-4.0.1/gensim/similarities/
H A Dtermsim.py191 def tfidf_sort_key(term_index): argument
192 if isinstance(term_index, tuple):
193 term_index, *_ = term_index
194 term_idf = tfidf.idfs[term_index]
195 return (-term_idf, term_index)
/dports/databases/p5-DBD-SQLite/DBD-SQLite-1.70/t/
H A Drt_73159_fts_tokenizer_segfault.t18 my $term_index = 0;
25 return ($term, $len, $start, $end, $term_index++);
/dports/www/firefox/firefox-99.0/third_party/rust/jsparagus-parser/src/
H A Dsimulator.rs51 let term_index: usize = tv.term.into(); in shift() localVariable
52 assert!(term_index < TABLES.shift_width); in shift()
53 let index = state * TABLES.shift_width + term_index; in shift()
H A Dparser.rs39 let term_index: usize = self.node_stack.next().unwrap().term.into(); in shift() localVariable
40 debug_assert!(term_index < TABLES.shift_width); in shift()
41 let index = state * TABLES.shift_width + term_index; in shift()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/jsparagus-parser/src/
H A Dsimulator.rs51 let term_index: usize = tv.term.into(); in shift() localVariable
52 assert!(term_index < TABLES.shift_width); in shift()
53 let index = state * TABLES.shift_width + term_index; in shift()
H A Dparser.rs39 let term_index: usize = self.node_stack.next().unwrap().term.into(); in shift() localVariable
40 debug_assert!(term_index < TABLES.shift_width); in shift()
41 let index = state * TABLES.shift_width + term_index; in shift()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/jsparagus-parser/src/
H A Dsimulator.rs51 let term_index: usize = tv.term.into(); in shift() localVariable
52 assert!(term_index < TABLES.shift_width); in shift()
53 let index = state * TABLES.shift_width + term_index; in shift()
H A Dparser.rs39 let term_index: usize = self.node_stack.next().unwrap().term.into(); in shift() localVariable
40 debug_assert!(term_index < TABLES.shift_width); in shift()
41 let index = state * TABLES.shift_width + term_index; in shift()
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/jsparagus-parser/src/
H A Dsimulator.rs41 let term_index: usize = tv.term.into(); in shift() localVariable
42 assert!(term_index < TABLES.shift_width); in shift()
43 let index = state * TABLES.shift_width + term_index; in shift()
H A Dparser.rs39 let term_index: usize = self.node_stack.next().unwrap().term.into(); in shift() localVariable
40 debug_assert!(term_index < TABLES.shift_width); in shift()
41 let index = state * TABLES.shift_width + term_index; in shift()
/dports/cad/openroad/OpenROAD-2.0/src/sta/dcalc/
H A DArnoldi.hh41 double elmore(int term_index);
/dports/net/zebra-server/idzebra-2.0.55/index/
H A Drank1.c49 int term_index; member
146 si->entries[i].term_index=i; in begin()

12