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

1 2

  /external/apache-commons-math/src/main/java/org/apache/commons/math/genetics/
SelectionPolicy.java 20 * Algorithm used to select a chromosome pair from a population.
27 * Select two chromosomes from the population.
28 * @param population the population from which the chromosomes are choosen.
31 ChromosomePair select(Population population);
StoppingCondition.java 27 * Determine whether or not the given population satisfies the stopping
30 * @param population the population to test.
32 * given population. <code>false</code> otherwise.
34 boolean isSatisfied(Population population);
TournamentSelection.java 25 * chromosomes without replacement from the population, and then selecting the
47 * Select two chromosomes from the population. Each of the two selected
50 * population, and then selecting the fittest chromosome among them.
52 * @param population
53 * the population from which the chromosomes are choosen.
56 public ChromosomePair select(Population population) {
58 tournament((ListPopulation) population),
59 tournament((ListPopulation)population)
64 * Helper for {@link #select(Population)}. Draw {@link #arity} rando
    [all...]
Chromosome.java 20 * Individual in a population. Chromosomes are compared based on their fitness.
80 * Searches the <code>population</code> for another chromosome with the same
84 * @param population
85 * Population to search
89 protected Chromosome findSameChromosome(Population population) {
90 for (Chromosome anotherChr : population) {
98 * Searches the population for a chromosome representing the same solution,
101 * @param population
102 * Population to searc
    [all...]
FixedGenerationCount.java 21 * {@link #isSatisfied(Population)} is invoked, a generation counter is
23 * <code>maxGenerations</code> value, {@link #isSatisfied(Population)} returns
52 * @param population ignored (no impact on result)
55 public boolean isSatisfied(Population population) {
  /external/icu/icu4j/samples/src/com/ibm/icu/samples/iuc/
PopulationData.java 26 * Entry in the population list
30 private double population; field in class:PopulationData.TerritoryEntry
31 public TerritoryEntry(String displayCountry, double population) {
33 this.population = population;
38 public double population() { method in class:PopulationData.TerritoryEntry
39 return population;
47 if (rc==0) rc = ((Double)population).compareTo(o.population());
62 // territoryF = { gdp, literacy, population }
    [all...]
Sample40_PopMsg.java 55 // Population roll call
60 infoArgs.put("population", entry.population());
Sample50_PopSort.java 67 // Population roll call
72 infoArgs.put("population", entry.population());
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
random.py 268 "enough bits to choose from a population range this large")
293 def sample(self, population, k):
294 """Chooses k unique random elements from a population sequence.
296 Returns a new list containing elements from the population while
297 leaving the original population unchanged. The resulting list is
302 Members of the population need not be hashable or unique. If the
303 population contains repeats, then each occurrence is a possible
308 large population: sample(xrange(10000000), 60)
315 # population, then tracking selections is efficient, requiring
321 n = len(population)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
random.py 267 "enough bits to choose from a population range this large")
290 def sample(self, population, k):
291 """Chooses k unique random elements from a population sequence.
293 Returns a new list containing elements from the population while
294 leaving the original population unchanged. The resulting list is
299 Members of the population need not be hashable or unique. If the
300 population contains repeats, then each occurrence is a possible
305 large population: sample(xrange(10000000), 60)
312 # population, then tracking selections is efficient, requiring
318 n = len(population)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
random.py 267 "enough bits to choose from a population range this large")
290 def sample(self, population, k):
291 """Chooses k unique random elements from a population sequence.
293 Returns a new list containing elements from the population while
294 leaving the original population unchanged. The resulting list is
299 Members of the population need not be hashable or unique. If the
300 population contains repeats, then each occurrence is a possible
305 large population: sample(xrange(10000000), 60)
312 # population, then tracking selections is efficient, requiring
318 n = len(population)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
random.py 267 "enough bits to choose from a population range this large")
290 def sample(self, population, k):
291 """Chooses k unique random elements from a population sequence.
293 Returns a new list containing elements from the population while
294 leaving the original population unchanged. The resulting list is
299 Members of the population need not be hashable or unique. If the
300 population contains repeats, then each occurrence is a possible
305 large population: sample(xrange(10000000), 60)
312 # population, then tracking selections is efficient, requiring
318 n = len(population)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
random.py 267 "enough bits to choose from a population range this large")
290 def sample(self, population, k):
291 """Chooses k unique random elements from a population sequence.
293 Returns a new list containing elements from the population while
294 leaving the original population unchanged. The resulting list is
299 Members of the population need not be hashable or unique. If the
300 population contains repeats, then each occurrence is a possible
305 large population: sample(xrange(10000000), 60)
312 # population, then tracking selections is efficient, requiring
318 n = len(population)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
random.py 267 "enough bits to choose from a population range this large")
290 def sample(self, population, k):
291 """Chooses k unique random elements from a population sequence.
293 Returns a new list containing elements from the population while
294 leaving the original population unchanged. The resulting list is
299 Members of the population need not be hashable or unique. If the
300 population contains repeats, then each occurrence is a possible
305 large population: sample(xrange(10000000), 60)
312 # population, then tracking selections is efficient, requiring
318 n = len(population)
    [all...]
  /frameworks/base/core/java/com/android/internal/graphics/palette/
Palette.java 333 * <p>The dominant swatch is defined as the swatch with the greatest population (frequency)
457 public Swatch(@ColorInt int color, int population) {
462 mPopulation = population;
465 Swatch(int red, int green, int blue, int population) {
470 mPopulation = population;
473 Swatch(float[] hsl, int population) {
474 this(ColorUtils.HSLToColor(hsl), population);
573 .append(" [Population: ").append(mPopulation).append(']')
    [all...]
  /frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/
Palette.java 328 * <p>The dominant swatch is defined as the swatch with the greatest population (frequency)
452 public Swatch(@ColorInt int color, int population) {
457 mPopulation = population;
460 Swatch(int red, int green, int blue, int population) {
465 mPopulation = population;
468 Swatch(float[] hsl, int population) {
469 this(ColorUtils.HSLToColor(hsl), population);
568 .append(" [Population: ").append(mPopulation).append(']')
    [all...]
  /prebuilts/sdk/current/support/v7/palette/
android-support-v7-palette.jar 
  /external/webp/src/dsp/
lossless_enc_mips32.c 98 // const uint32_t* pop = &population[4];
99 // const uint32_t* LoopEnd = &population[length];
107 static double ExtraCost(const uint32_t* const population, int length) {
109 const uint32_t* pop = &population[4];
110 const uint32_t* const LoopEnd = &population[length];
lossless.h 159 typedef double (*VP8LCostFunc)(const uint32_t* population, int length);
176 uint32_t sum; // sum of the population
177 int nonzeros; // number of non-zero elements in the population
178 uint32_t max_val; // maximum value in the population
179 uint32_t nonzero_code; // index of the last non-zero in the population
  /external/harfbuzz_ng/test/shaping/
hb_test_tools.py 232 def zscore (self, population):
234 Population is the Stats for population.
240 return (self.mean () - population.mean ()) / population.stddev ()
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_random.py 64 population = xrange(N)
66 s = self.gen.sample(population, k)
70 self.assertTrue(uniq <= set(population))
92 # SF bug #801342 -- population can be any iterable defining __len__()
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_random.py 72 population = xrange(N)
74 s = self.gen.sample(population, k)
78 self.assertTrue(uniq <= set(population))
100 # SF bug #801342 -- population can be any iterable defining __len__()
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_random.py 72 population = xrange(N)
74 s = self.gen.sample(population, k)
78 self.assertTrue(uniq <= set(population))
100 # SF bug #801342 -- population can be any iterable defining __len__()
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_random.py 72 population = xrange(N)
74 s = self.gen.sample(population, k)
78 self.assertTrue(uniq <= set(population))
100 # SF bug #801342 -- population can be any iterable defining __len__()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_random.py 72 population = xrange(N)
74 s = self.gen.sample(population, k)
78 self.assertTrue(uniq <= set(population))
100 # SF bug #801342 -- population can be any iterable defining __len__()

Completed in 1127 milliseconds

1 2