HomeSort by relevance Sort by last modified time
    Searched full:weight (Results 26 - 50 of 2039) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/
mst.py 22 def minimum_spanning_edges(G,weight='weight',data=True):
34 weight : string
35 Edge data key to use for weight (default 'weight').
44 The edges are three-tuples (u,v,w) where w is the weight.
49 >>> G.add_edge(0,3,weight=2) # assign weight 2 to edge 0-3
59 If the graph edges do not have a weight attribute a default weight of
    [all...]
vitality.py 15 def weiner_index(G, weight=None):
19 if weight is None:
26 n,weight=weight)
31 def closeness_vitality(G, weight=None):
41 weight : None or string (optional)
42 The name of the edge attribute used as weight. If None the edge
67 wig = weiner_index(G,weight)
81 closeness_vitality[n] = wig - weiner_index(G,weight)
  /external/jetty/src/resources/
jetty-dir.css 12 font-weight: bold;
18 font-weight: bold;
  /external/openfst/src/include/fst/script/
weight-class.h 17 // Represents a generic weight in an FST -- that is, represents a specific
18 // type of weight underneath while hiding that type from a client.
44 W weight; member in struct:fst::script::WeightClassImpl
46 explicit WeightClassImpl(const W& weight) : weight(weight) { }
49 return new WeightClassImpl<W>(weight);
55 *o << weight; local
60 WeightToStr(weight, &str);
71 return typed_other->weight == weight
    [all...]
reweight.h 25 #include <fst/script/weight-class.h>
37 typedef typename Arc::Weight Weight;
38 vector<Weight> potentials(args->arg2.size());
41 potentials[i] = *(args->arg2[i].GetWeight<Weight>());
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/assortativity/tests/
test_connectivity.py 29 G[1][2]['weight']=4
31 nd = nx.average_degree_connectivity(G,weight='weight')
39 nd = nx.average_degree_connectivity(D,weight='weight')
44 nd = nx.average_degree_connectivity(D,weight='weight', source='in',
50 weight='weight')
57 nd = nx.average_degree_connectivity(G,weight='other'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/shortest_paths/
weighted.py 30 def dijkstra_path(G, source, target, weight='weight'):
43 weight: string, optional (default='weight')
44 Edge data key corresponding to the edge weight
64 Edge weight attributes must be numerical.
72 weight=weight)
79 def dijkstra_path_length(G, source, target, weight='weight')
    [all...]
dense.py 16 def floyd_warshall_numpy(G, nodelist=None, weight='weight'):
27 weight: string, optional (default= 'weight')
28 Edge data key corresponding to the edge weight.
50 weight=weight)
59 def floyd_warshall_predecessor_and_distance(G, weight='weight'):
66 weight: string, optional (default= 'weight'
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/linalg/tests/
test_graphmatrix.py 32 self.WG=nx.Graph( (u,v,{'weight':0.5,'other':0.3})
65 weight='weight'),0.5*self.OI)
66 assert_equal(nx.incidence_matrix(self.WG,weight='weight'),
68 assert_equal(nx.incidence_matrix(self.WG,oriented=True,weight='other'),
71 WMG.add_edge(0,1,attr_dict={'weight':0.5,'other':0.3})
72 assert_equal(nx.incidence_matrix(WMG,weight='weight'),
74 assert_equal(nx.incidence_matrix(WMG,weight='weight',oriented=True)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/centrality/tests/
test_betweenness_centrality.py 7 G.add_edge(0,1,weight=3)
8 G.add_edge(0,2,weight=2)
9 G.add_edge(0,3,weight=6)
10 G.add_edge(0,4,weight=4)
11 G.add_edge(1,3,weight=5)
12 G.add_edge(1,5,weight=5)
13 G.add_edge(2,4,weight=1)
14 G.add_edge(3,4,weight=2)
15 G.add_edge(3,5,weight=1)
16 G.add_edge(4,5,weight=4
    [all...]
  /external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/fitting/
WeightedObservedPoint.java 33 /** Weight of the measurement in the fitting process. */
34 private final double weight; field in class:WeightedObservedPoint
43 * @param weight weight of the measurement in the fitting process
47 public WeightedObservedPoint(final double weight, final double x, final double y) {
48 this.weight = weight;
53 /** Get the weight of the measurement in the fitting process.
54 * @return weight of the measurement in the fitting process
57 return weight;
    [all...]
  /external/openfst/src/include/fst/
shortest-path.h 43 typedef typename Arc::Weight Weight;
53 Weight weight_threshold; // pruning weight threshold.
58 bool fp = false, Weight w = Weight::Zero(),
72 // The shortest path is the lowest weight path w.r.t. the natural
80 vector<typename Arc::Weight> *distance,
83 typedef typename Arc::Weight Weight;
    [all...]
accumulator.h 19 // Classes to accumulate arc weights. Useful for weight lookahead.
46 typedef typename A::Weight Weight;
56 Weight Sum(Weight w, Weight v) {
61 Weight Sum(Weight w, ArcIterator *aiter, ssize_t begin,
63 Weight sum = w;
66 sum = Plus(sum, aiter->Value().weight);
    [all...]
arc-map.h 41 // A final weight is mapped into a final weight. An error
45 // A final weight is mapped to an arc to the superfinal state
46 // when the result cannot be represented as a final weight.
50 // A final weight is mapped to an arc to the superfinal state
51 // unless the result can be represented as a final weight of weight
83 // // form A(0, 0, weight, kNoStateId).
114 typedef typename A::Weight Weight;
    [all...]
determinize.h 39 #include <fst/factor-weight.h>
57 typedef W Weight;
70 typedef StringWeight<L, S> Weight;
72 Weight operator()(const Weight &w1, const Weight &w2) const {
77 FSTERROR() << "LabelCommonDivisor: Weight needs to be left semiring";
78 return Weight::NoWeight();
80 return Weight::One();
81 } else if (w1 == Weight::Zero())
133 Weight weight; \/\/ Residual weight member in struct:fst::DeterminizeElement
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/isomorphism/tests/
test_vf2userfunc.py 12 w = 'weight'
23 em = iso.numerical_multiedge_match('weight', 1)
25 em = iso.numerical_edge_match('weight', 1)
33 data1 = {0:{'weight':10}}
35 data2 = {0:{'weight':1},1:{'weight':2.5}}
38 data1 = {'weight':10}
40 data2 = {'weight':2.5}
63 g1.add_edge('A','B', weight=1)
64 g2.add_edge('C','D', weight=0
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
PreFillType.java 15 private final int weight; field in class:PreFillType
26 * @param weight An integer indicating how to balance pre-filling this size and configuration of
29 PreFillType(int width, int height, Bitmap.Config config, int weight) {
37 this.weight = weight;
62 * Returns the weight of the {@link android.graphics.Bitmap Bitmaps} of this type.
65 return weight;
74 && weight == other.weight
85 result = 31 * result + weight;
107 private int weight = 1; field in class:PreFillType.Builder
    [all...]
  /external/icu/icu4c/source/i18n/
collationweights.h 36 static inline int32_t lengthOfWeight(uint32_t weight) {
37 if((weight&0xffffff)==0) {
39 } else if((weight&0xffff)==0) {
41 } else if((weight&0xff)==0) {
57 * @param lowerLimit A collation element weight; the ranges will be filled to cover
59 * @param upperLimit A collation element weight; the ranges will be filled to cover
72 * @return The next weight in the ranges, or 0xffffffff if there is none left.
88 uint32_t incWeight(uint32_t weight, int32_t length) const;
89 uint32_t incWeightByOffset(uint32_t weight, int32_t length, int32_t offset) const;
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
LocalePriorityList.java 50 * weight, and then by input order. That is, if two languages have the same weight, the first one in the original order
78 * Add a language code to the list being built, with weight 1.0.
89 * Add a language code to the list being built, with specified weight.
92 * @param weight value from 0.0 to 1.0
96 public static Builder add(ULocale languageCode, final double weight) {
97 return new Builder().add(languageCode, weight);
124 * Return the weight for a given language, or null if there is none. Note that
127 * @param language to get weight of
128 * @return weight
147 double weight = languagesAndWeights.get(language); local
241 Double weight = languageToWeight.get(lang); local
252 final Double weight = langEntry.getKey(); local
337 final double weight = Double.parseDouble(itemMatcher.group(2)); local
    [all...]
  /frameworks/base/docs/html/distribute/engage/
engage_toc.cs 3 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
9 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
15 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
21 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
27 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
33 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
39 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
45 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
51 <div class="nav-section-header empty" style="font-weight:normal"><a href="<?cs
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/assortativity/
neighbor_degree.py 13 def _average_nbr_deg(G, source_degree, target_degree, nodes=None, weight=None):
16 for n,deg in source_degree(nodes,weight=weight).items():
21 if weight is None:
24 avg[n] = sum((G[n][nbr].get(weight,1)*d
29 nodes=None, weight=None):
47 is the weight of the edge that links `i` and `j` and
68 weight : string or None, optional (default=None)
69 The edge attribute that holds the numerical value used as a weight.
70 If None, then each edge has weight 1
    [all...]
connectivity.py 15 nodes=None, weight=None):
21 if weight is None:
23 else: # weight nbr degree by weight of (n,nbr) edge
25 s = float(sum((G[n][nbr].get(weight,1)*d
28 s = float(sum((G[n][nbr].get(weight,1)*d
31 s = float(sum((G[nbr][n].get(weight,1)*d
33 dnorm[k] += source_degree(n, weight=weight)
46 nodes=None, weight=None)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/generators/tests/
test_ego.py 31 G.add_edge(0,1,weight=2,distance=1)
32 G.add_edge(1,2,weight=2,distance=2)
33 G.add_edge(2,3,weight=2,distance=1)
35 eg=nx.ego_graph(G,0,radius=3,distance='weight')
37 eg=nx.ego_graph(G,0,radius=3,distance='weight',undirected=True)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/tests/
test_convert_numpy.py 31 weight = [s+10 for s in source]
32 ex = zip(source, dest, weight)
112 WP4.add_edges_from( (n,n+1,dict(weight=0.5,other=0.3)) for n in range(3) )
115 np_assert_equal(A, nx.to_numpy_matrix(WP4,weight=None))
117 np_assert_equal(0.3*A, nx.to_numpy_matrix(WP4,weight='other'))
122 assert_equal(type(G[0][0]['weight']),int)
126 assert_equal(type(G[0][0]['weight']),float)
130 assert_equal(type(G[0][0]['weight']),str)
134 assert_equal(type(G[0][0]['weight']),bool)
138 assert_equal(type(G[0][0]['weight']),complex
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/tests/
test_cluster.py 42 assert_equal(list(nx.clustering(G,weight='weight').values()),[])
47 assert_equal(list(nx.clustering(G,weight='weight').values()),
49 assert_equal(nx.clustering(G,weight='weight'),
55 assert_equal(list(nx.clustering(G,weight='weight').values()),
58 assert_equal(list(nx.clustering(G,[1,2],weight='weight').values()),[0, 0]
    [all...]

Completed in 1883 milliseconds

12 3 4 5 6 7 8 91011>>