Topics (384k) Articles (398k) Users (410) Discussions (242) Comments (383) Files (13k) New article
A parallel algorithm portfolio runs multiple candidate algorithms or randomized runs concurrently and combines their outcomes under a stopping policy. For a first-solution problem, an ideal policy stops all candidates when one returns an acceptable solution. The original portfolio study investigated how differing runtime distributions can make such combinations effective.[ref]
Algorithm portfolios by Carla P. Gomes and Bart Selman. Sections 4–5, parallel portfolios and runtime profiles
If candidates have dedicated processors, negligible coordination overhead and completion times , the first completion is . For independent completion times,The equation follows because every candidate must still be running for the minimum to exceed . Independence is an assumption about the runs, not a consequence of using different processor cores.
For an original two-point model, one randomized run finishes in one second with probability , otherwise in seconds. Its mean is seconds. Two independent runs are both slow with probability , so first-completion time has mean seconds. If their runtimes are perfectly correlated, the mean remains seconds. Repeating identical hard behavior offers no independent escape route.
Wall time and computing work differ: running two full-speed processors until the first completion uses twice that wall time in processor-seconds in this model. Shared memory, bandwidth contention and communication can further change actual timings. Report those resources and the answer-acceptance rule before interpreting a parallel speedup.
A sequential algorithm portfolio allocates one processor's time among candidate algorithms or runs. Its algorithm portfolio schedule determines which candidate runs, when to switch and whether an interrupted run is resumed or abandoned. The original portfolio study compared single-processor interleaving and restart policies with parallel execution.[ref]
Algorithm portfolios by Carla P. Gomes and Bart Selman. Sections 4–5, interleaved and restart portfolios
Consider original runtimes seconds and seconds on two equally likely input types. Either fixed choice has mean or seconds. Run for at most four seconds, then start if has not finished. The two completion times are and seconds, so the scheduled mean is seconds. The schedule succeeds because the candidates have complementary performance.
Algorithm portfolio switching overhead can erase that gain. If the switch costs seconds whenever it occurs, the second completion time becomes seconds and the mean becomes seconds, worse than always running . The cost must be charged to the actual switching events, rather than added equally to every instance.
A timeout also does not say that the interrupted candidate would never solve the input. Resuming preserves previous search work only if the implementation supports it; restarting begins a different run. Record budgets, state retention, random seeds and the final stopping rule when reporting a sequential portfolio's performance. A good schedule on measured inputs still needs evaluation on unused inputs.
An algorithm portfolio schedule specifies how computational resources are assigned to members of an algorithm portfolio over time. For a sequential algorithm portfolio, it states which algorithm receives each time interval, whether interrupted work is resumed or discarded, and when computation stops. A parallel algorithm portfolio also needs a processor allocation and a rule for accepting and combining results. Listing candidate algorithms alone does not specify a schedule.
An original interleaving example makes the distinction between processor time and elapsed time explicit. Suppose algorithms A and B need respectively and seconds of processor time on a particular input. Give A one second, then B one second, repeating while preserving both states and stopping at the first accepted result. A receives its third second during elapsed interval , so the portfolio finishes at seconds. At that point A has used processor-seconds and B has used . With two dedicated processors, the corresponding parallel algorithm portfolio would finish at seconds. These calculations assume no algorithm portfolio switching overhead and no resource contention.
More generally, let be processor time supplied to candidate by elapsed time , and let be its required processor time. In the resumable, interference-free model, the completion time isDiscarding a state on every interruption changes this model: separate short runs do not necessarily accumulate into one longer run. The original portfolio study compared parallel, interleaved and restart execution precisely because these are different policies.[ref]
Algorithm portfolios by Carla P. Gomes and Bart Selman. Sections 4–5: allocation policies and empirical runtime profiles.
Choose an objective before comparing algorithm portfolio schedules: expected value of running time, probability of finishing by a deadline, and total computing work need not favor the same allocation. A schedule chosen using retrospective runtimes also requires evaluation on inputs that did not determine the schedule.
A conditional algorithm parameter matters only when a stated condition on other settings holds. In an algorithm parameter space, the condition determines whether the child parameter is active. The ConfigSpace guide samples conditional settings only when their activation conditions are met.[ref]
For an original example, an algorithm has modes plain and tuned. A depth setting affects only tuned mode. The naive rectangular encoding has eight pairs, but the distinct effective settings areThe four plain-mode encodings describe the same effective choice, so there are five settings, not eight. The star denotes inactivity; it is not an additional depth value used by the algorithm.
ParamILS excludes local moves that change only an inactive parameter, since such a move does not alter effective behavior.[ref]
ParamILS: An Automatic Algorithm Configuration Framework by Frank Hutter and others. Section 3.1, one-exchange neighborhood and conditional-parameter handling
Switching from plain to tuned activates a choice of depth, while changing an unused plain-mode depth alone supplies no new measured behavior.A forbidden parameter combination instead rules out a joint assignment. Inactive does not mean forbidden, missing data or a numeric zero. Recording the mode and activity conditions makes a returned configuration interpretable, especially when comparing costs or reusing settings in another implementation.
A forbidden parameter combination is an assignment excluded from an algorithm parameter space by an explicit validity rule. Each individual value may be allowed, while their joint use is not. The ConfigSpace guide implements this distinction using forbidden clauses and their conjunctions.[ref]
ConfigSpace User Guide. 3rd Example: Forbidden clauses; ForbiddenAndConjunction
For an original counting example, let mode , cache and worker count . There are initially eight assignments. Suppose the rules forbid both and . Each rule excludes two assignments, but they overlap on one:Subtracting four without accounting for the overlap would reject an assignment twice. The count can also be checked directly: all four cache-off assignments are valid, and only survives with the cache on.
This differs from a conditional algorithm parameter. A condition says whether a setting is active; a forbidden rule says that an otherwise represented combination is inadmissible. An inactive setting can be irrelevant without making the parent configuration invalid.
Validity is also distinct from the objective function. A slow valid run has a measured performance cost; a forbidden combination lies outside the declared search domain. Giving every invalid combination an arbitrary large cost changes the mathematical model and can waste evaluations or accidentally make an invalid result appear competitive. Check the validity rule before treating a proposed configuration as an experiment.
Homotopy theory studies topological spaces and continuous maps through continuous deformation. A homotopy from to is a continuous map with and . Replacing a space by a homotopy equivalent one preserves its deformation-level information, including its homotopy groups.
For example, the punctured plane retracts onto its unit circle throughThe coefficient stays positive, so the deformation never crosses the removed origin, and points already on the unit circle remain fixed. This is a deformation retraction.
For an algebraic structure specified by operations, a quotient structure identifies elements through an equivalence relation compatible with every operation. Explicitly, if for all inputs, compatibility requires . Thenis independent of the chosen representatives. The map is a surjective homomorphism.
For the integers, congruence modulo is compatible with addition and multiplication, giving the quotient ring . For a group, equivalence by cosets supports a quotient group precisely when the subgroup is normal. The compatibility requirement is what makes the quotient a reusable algebraic object rather than merely a partition of a set.
The arity of a finitary algebraic operation is the number of its input positions. An operation of arity on is a function . A nullary operation chooses a constant, a unary operation takes one input, and a binary operation takes two.
For example, addition on the integers is binary even though repeated addition allows an expression such as . That expression composes two binary operations; associativity is what makes its parenthesization irrelevant. A symbol taking arbitrarily many inputs would need a different specification, such as one operation for each .
A fixed arity is part of an algebraic signature and determines how terms are built and which inputs a homomorphism must preserve. Operations of the same arity can nevertheless satisfy completely different identities.
A unary operation on a set is a function taking one input and returning an element of the same set. Examples include the additive inverse on the integers and inversion in a group.
A nullary operation on a set has no inputs: formally it is a function . The Cartesian power is the singleton consisting of the empty tuple, so such a function selects exactly one distinguished element .
The zero and identity elements of a unital ring can be encoded as nullary operation symbols. A homomorphism preserving those operations must carry their selected constants to the corresponding constants in the target structure. This is why constants fit naturally into the same signature language as unary operations and binary operations.
There is no nullary operation on the empty set: its source still has one element, while its target has none. Allowing constants therefore affects whether empty algebraic structures are possible.
The degree of an algebraic number is the degree of a polynomial of its minimal polynomial of an algebraic element over . Equivalently, it is the field extension degree . If that degree is , then form a basis over the rational numbers: higher powers reduce using the minimal polynomial of an algebraic element, while a dependence among these first powers would contradict minimality.[ref]
A Computational Introduction to Number Theory and Algebra by Victor Shoup. section 16.6, algebraic elements and simple extensions
For , the irreducible polynomial gives degree two and expressions . For , the polynomial is irreducible over because a reducible cubic would have a rational root of a polynomial, which the rational root theorem excludes. Its degree is three. Merely finding a polynomial equation gives an upper bound: also satisfies , but its degree is still two.
Arithmetic geometry studies polynomial equations using both algebraic geometry and number theory. The coefficient arithmetic matters: a geometric object may have real points while having no integer or rational points of the required kind.
For example, has real solutions, but no solutions in the integers. A square is congruent to zero or one modulo four, so a sum of two squares cannot be congruent to three. Such polynomial congruences modulo a prime or prime power can therefore obstruct the existence of global arithmetic solutions.
In the language of schemes, an object over has fibres over prime numbers that are varieties over finite fields, together with a generic fibre over . Comparing these fibres links the geometry of curves and abelian varieties to their arithmetic. Local solvability need not guarantee global solvability; the passage between these questions is a central source of structure and difficulty.
A diatom is a unicellular eukaryotic alga characterized by a silica-containing cell wall called a frustule. The wall typically has two overlapping portions, making the organism a striking example of biologically constructed mineral architecture. Diatoms contribute to photosynthetic production and to movement of silicon through aquatic ecosystems.
Experiments on marine bacterial assemblages connected decay of diatom organic material to accelerated dissolution of the silica wall. [ref]
Accelerated dissolution of diatom silica by marine bacterial assemblages by Kay D. Bidle and Farooq Azam. 1999, abstract and experiments: bacterial processing, organic protection and silica dissolution
The biological and mineral parts of a dead cell therefore do not have independent fates. Removing or altering the surrounding organic material can change how rapidly the mineral component is returned to the dissolved pool.Chlamydomonas reinhardtii is a unicellular green member of the algae used as a model organism for photosynthesis and for the structure and function of eukaryotic flagella. A typical motile vegetative cell has two anterior flagella, a large cup-shaped chloroplast and a light-sensing eyespot. These features bring propulsion, light sensing and photosynthesis together in one experimentally tractable cell.[ref]
Its flagella contain the same basic microtubule machinery as motile cilia in animals. This is an evolutionary relationship between organelles; bacterial flagella use a different construction. In the genome study published in 2007, researchers sequenced its nuclear genome and compared predicted proteins across organisms with different cellular capabilities. Genes shared by organisms with flagella, but absent from comparison organisms lacking them, supplied candidates for flagellar assembly and function. Comparisons with proteins experimentally found in flagella helped test those candidates.[ref]
Dunaliella parva is a unicellular green member of the algae adapted to saline environments, making it an experimental example of a halophile. Its ability to adjust intracellular glycerol connects a change in external salinity to a measurable cellular response.[ref]
The Role of Glycerol in the Osmotic Regulation of the Halophilic Alga Dunaliella parva by Ami Ben-Amotz and Mordhay Avron. Abstract: halophilic alga and intracellular glycerol
In 1973, Ami Ben-Amotz and Mordhay Avron measured cellular volume and glycerol content. For cells cultured in sodium chloride, they estimated an intracellular glycerol concentration of about . Increasing or decreasing the external salt caused corresponding glycerol adjustments, reaching a new balance in about90minutes. Above the reported salt threshold, leakage did not explain the changes, supporting synthesis and breakdown as a mechanism of osmoregulation.[ref]
The Role of Glycerol in the Osmotic Regulation of the Halophilic Alga Dunaliella parva by Ami Ben-Amotz and Mordhay Avron. Abstract: volume estimate, salt shifts and leakage observation
The experiment compares distinct quantities: salt outside the cell and glycerol inside it. Their numerical concentrations should not be equated as if they alone specified equal osmotic pressure; sodium chloride dissociates and other cellular solutes also contribute. The informative result is the regulated response to a controlled environmental change, not a universal concentration ratio for all halophiles.
Pinned article: Introduction to the OurBigBook Project
Welcome to the OurBigBook Project! Our goal is to create the perfect publishing platform for STEM subjects, and get university-level students to write the best free STEM tutorials ever.
Everyone is welcome to create an account and play with the site: ourbigbook.com/go/register. We belive that students themselves can write amazing tutorials, but teachers are welcome too. You can write about anything you want, it doesn't have to be STEM or even educational. Silly test content is very welcome and you won't be penalized in any way. Just keep it legal!
Intro to OurBigBook
. Source. We have two killer features:
- topics: topics group articles by different users with the same title, e.g. here is the topic for the "Fundamental Theorem of Calculus" ourbigbook.com/go/topic/fundamental-theorem-of-calculusArticles of different users are sorted by upvote within each article page. This feature is a bit like:
- a Wikipedia where each user can have their own version of each article
- a Q&A website like Stack Overflow, where multiple people can give their views on a given topic, and the best ones are sorted by upvote. Except you don't need to wait for someone to ask first, and any topic goes, no matter how narrow or broad
This feature makes it possible for readers to find better explanations of any topic created by other writers. And it allows writers to create an explanation in a place that readers might actually find it.Figure 1. Screenshot of the "Derivative" topic page. View it live at: ourbigbook.com/go/topic/derivativeVideo 2. OurBigBook Web topics demo. Source. - local editing: you can store all your personal knowledge base content locally in a plaintext markup format that can be edited locally and published either:This way you can be sure that even if OurBigBook.com were to go down one day (which we have no plans to do as it is quite cheap to host!), your content will still be perfectly readable as a static site.
- to OurBigBook.com to get awesome multi-user features like topics and likes
- as HTML files to a static website, which you can host yourself for free on many external providers like GitHub Pages, and remain in full control
Figure 2. You can publish local OurBigBook lightweight markup files to either OurBigBook.com or as a static website.Figure 3. Visual Studio Code extension installation.Figure 5. . You can also edit articles on the Web editor without installing anything locally. Video 3. Edit locally and publish demo. Source. This shows editing OurBigBook Markup and publishing it using the Visual Studio Code extension. - Infinitely deep tables of contents:
All our software is open source and hosted at: github.com/ourbigbook/ourbigbook
Further documentation can be found at: docs.ourbigbook.com
Feel free to reach our to us for any help or suggestions: docs.ourbigbook.com/#contact





