id
stringlengths
1
5
text
stringlengths
472
972
title
stringclasses
280 values
embeddings
listlengths
768
768
2901
A few tribes were on friendly terms with the other Americans, but most Indians opposed the union of the Colonies as a potential threat to their territory. Approximately 13,000 Indians fought on the British side, with the largest group coming from the Iroquois tribes, who fielded around 1,500 men. The powerful Iroquois Confederacy was shattered as a result of the conflict, whatever side they took; the Seneca, Onondaga, and Cayuga nations sided with the British. Members of the Mohawk nation fought on both sides. Many Tuscarora and Oneida sided with the colonists. The Continental Army sent the Sullivan Expedition on
"American Revolutionary War"
[ -0.5941530466079712, -0.3606288433074951, -0.6644488573074341, -0.1532086282968521, 0.18119917809963226, 0.1972559094429016, 0.703313410282135, 0.5217835903167725, -0.2740260362625122, -0.43001464009284973, -0.008873372338712215, 0.5741155743598938, -0.48598894476890564, 0.7704064846038818...
2902
raids throughout New York to cripple the Iroquois tribes that had sided with the British. Mohawk leaders Joseph Louis Cook and Joseph Brant sided with the Americans and the British respectively, and this further exacerbated the split. Early in July 1776, a major action occurred in the fledgling conflict when the Cherokee allies of Britain attacked the western frontier areas of North Carolina. Their defeat resulted in a splintering of the Cherokee settlements and people, and was directly responsible for the rise of the Chickamauga Cherokee, bitter enemies of the Colonials who carried on a frontier war for decades following
"American Revolutionary War"
[ -0.5130411386489868, -0.2564617693424225, -0.6219626665115356, -0.08244334161281586, 0.3145853579044342, -0.046752654016017914, 0.7491264343261719, 0.3815751373767853, -0.2366524487733841, -0.44114649295806885, 0.11651944369077682, 0.7246512174606323, -0.27284613251686096, 0.99429178237915...
2903
the end of hostilities with Britain. Creek and Seminole allies of Britain fought against Americans in Georgia and South Carolina. In 1778, a force of 800 Creeks destroyed American settlements along the Broad River in Georgia. Creek warriors also joined Thomas Brown's raids into South Carolina and assisted Britain during the Siege of Savannah. Many Indians were involved in the fighting between Britain and Spain on the Gulf Coast and up the Mississippi River—mostly on the British side. Thousands of Creeks, Chickasaws, and Choctaws fought in major battles such as the Battle of Fort Charlotte, the Battle of Mobile, and
"American Revolutionary War"
[ -0.5625306963920593, -0.3111380636692047, -0.5868103504180908, -0.3572136163711548, 0.5914311408996582, 0.06923513859510422, 0.7295536398887634, 0.4240013062953949, -0.6073083281517029, -0.18847908079624176, -0.21107712388038635, 0.6236078143119812, -0.5014932155609131, 1.1393039226531982,...
2904
the Siege of Pensacola. Pybus (2005) estimates that about 20,000 slaves defected to or were captured by the British, of whom about 8,000 died from disease or wounds or were recaptured by the Patriots. The British took some 12,000 at the end of the war; of these 8000 remained in slavery. Including those who left during the war, a total of about 8000 to 10,000 slaves gained freedom. About 4000 freed slaves went to Nova Scotia and 1200 blacks remained slaves. Baller (2006) examines family dynamics and mobilization for the Revolution in central Massachusetts. He reports that warfare and the
"American Revolutionary War"
[ -0.6073784232139587, -0.3688855469226837, -0.633104681968689, -0.3107588589191437, 0.5600717067718506, 0.6552361249923706, 1.0520604848861694, 0.28887540102005005, -0.6539639830589294, -0.05542471632361412, -0.19572609663009644, 0.5362308025360107, -0.4185149669647217, 0.775076150894165, ...
2905
farming culture were sometimes incompatible. Militiamen found that living and working on the family farm had not prepared them for wartime marches and the rigors of camp life. Rugged individualism conflicted with military discipline and regimentation. A man's birth order often influenced his military recruitment, as younger sons went to war and older sons took charge of the farm. A person's family responsibilities and the prevalent patriarchy could impede mobilization. Harvesting duties and family emergencies pulled men home regardless of the sergeant's orders. Some relatives might be Loyalists, creating internal strains. On the whole, historians conclude the Revolution's effect on
"American Revolutionary War"
[ -0.34131497144699097, -0.29570841789245605, -0.8241877555847168, -0.3500217795372009, 0.12705543637275696, 0.39032092690467834, 0.7706262469291687, 0.15121276676654816, -0.2832760810852051, -0.2679394781589508, -0.35683712363243103, 0.3361011743545532, -0.3794032037258148, 0.70823740959167...
2906
patriarchy and inheritance patterns favored egalitarianism. McDonnell (2006) shows a grave complication in Virginia's mobilization of troops was the conflicting interests of distinct social classes, which tended to undercut a unified commitment to the Patriot cause. The Assembly balanced the competing demands of elite slave-owning planters, the middling yeomen (some owning a few slaves), and landless indentured servants, among other groups. The Assembly used deferments, taxes, military service substitute, and conscription to resolve the tensions. Unresolved class conflict, however, made these laws less effective. There were violent protests, many cases of evasion, and large-scale desertion, so that Virginia's contributions came
"American Revolutionary War"
[ -0.5595518946647644, -0.5493954420089722, -0.5970788598060608, -0.06873030960559845, 0.0655546560883522, 0.625958263874054, 0.5163756608963013, 0.2897874414920807, -0.4092041552066803, -0.14132043719291687, -0.10240570455789566, 0.4873845875263214, -0.5462888479232788, 0.7275259494781494, ...
2907
at embarrassingly low levels. With the British invasion of the state in 1781, Virginia was mired in class division as its native son, George Washington, made desperate appeals for troops. These are some of the standard works about the war in general that are not listed above; books about specific campaigns, battles, units, and individuals can be found in those articles. American Revolutionary War The American Revolutionary War (17751783), also known as the American War of Independence, was an 18th-century war between Great Britain and its Thirteen Colonies (allied with France) which declared independence as the United States of America.
"American Revolutionary War"
[ -0.3698970079421997, -0.47180816531181335, -0.49916166067123413, -0.11720125377178192, 0.09381194412708282, 0.12856055796146393, 0.5157080888748169, 0.5093140006065369, -0.37977883219718933, -0.10735967010259628, -0.17258960008621216, 0.23485614359378815, -0.34437042474746704, 0.8871896266...
2908
Ampere The ampere (; symbol: A), often shortened to "amp", is the base unit of electric current in the International System of Units (SI). It is named after André-Marie Ampère (1775–1836), French mathematician and physicist, considered the father of electrodynamics. The International System of Units defines the ampere in terms of other base units by measuring the electromagnetic force between electrical conductors carrying electric current. The earlier CGS measurement system had two different definitions of current, one essentially the same as the SI's and the other using electric charge as the base unit, with the unit of charge defined by
Ampere
[ 0.1847688853740692, -0.409115195274353, 0.22543983161449432, 0.14171920716762543, -0.5062916874885559, 0.9059604406356812, -0.26443126797676086, -0.6790817975997925, -0.26866888999938965, 0.19400270283222198, 0.38843798637390137, 0.4436419904232025, -0.18575948476791382, 0.7829685211181641...
2909
measuring the force between two charged metal plates. The ampere was then defined as one coulomb of charge per second. In SI, the unit of charge, the coulomb, is defined as the charge carried by one ampere during one second. New definitions, in terms of invariant constants of nature, specifically the elementary charge, will take effect on 20 May 2019. SI defines ampere as follows: The ampere is that constant current which, if maintained in two straight parallel conductors of infinite length, of negligible circular cross-section, and placed one metre apart in vacuum, would produce between these conductors a force
Ampere
[ 0.02218416891992092, -0.30915185809135437, 0.8052184581756592, 0.12393023818731308, -0.39357221126556396, 0.4299318790435791, -0.21019713580608368, -0.6945500373840332, -0.4948190748691559, 0.037494760006666183, 0.1958787441253662, 0.45734819769859314, 0.11856316775083542, 0.60063248872756...
2910
equal to newtons per metre of length. Ampère's force law states that there is an attractive or repulsive force between two parallel wires carrying an electric current. This force is used in the formal definition of the ampere. The SI unit of charge, the coulomb, "is the quantity of electricity carried in 1 second by a current of 1 ampere". Conversely, a current of one ampere is one coulomb of charge going past a given point per second: In general, charge "Q" is determined by steady current "I" flowing for a time "t" as . Constant, instantaneous and average current
Ampere
[ -0.017505019903182983, -0.5624301433563232, 0.45101398229599, 0.38762012124061584, -0.3246240019798279, 0.5069615244865417, -0.18603749573230743, -0.6979473829269409, -0.3966488540172577, -0.003433479927480221, 0.2716986835002899, 0.42318347096443176, 0.009384182281792164, 0.39855903387069...
2911
are expressed in amperes (as in "the charging current is 1.2 A") and the charge accumulated, or passed through a circuit over a period of time is expressed in coulombs (as in "the battery charge is "). The relation of the ampere (C/s) to the coulomb is the same as that of the watt (J/s) to the joule. The ampere was originally defined as one tenth of the unit of electric current in the centimetre–gram–second system of units. That unit, now known as the abampere, was defined as the amount of current that generates a force of two dynes per
Ampere
[ -0.12795491516590118, -0.2801187336444855, 0.29626673460006714, 0.15584690868854523, -0.483248770236969, 0.8148778676986694, 0.050342559814453125, -0.7388157844543457, -0.2498503476381302, -0.010029981844127178, 0.3164847791194916, 0.7166667580604553, 0.2442600429058075, 0.6244428157806396...
2912
centimetre of length between two wires one centimetre apart. The size of the unit was chosen so that the units derived from it in the MKSA system would be conveniently sized. The "international ampere" was an early realization of the ampere, defined as the current that would deposit of silver per second from a silver nitrate solution. Later, more accurate measurements revealed that this current is . Since power is defined as the product of current and voltage, the ampere can alternatively be expressed in terms of the other units using the relationship I=P/V, and thus 1 ampere equals 1
Ampere
[ 0.4496108591556549, -0.45135489106178284, 0.4658578634262085, 0.3250886797904968, -0.4763144850730896, 0.3805743455886841, 0.07497753202915192, -0.9092952609062195, -0.21488229930400848, 0.33943310379981995, 0.39718982577323914, 0.4147505760192871, -0.05333496257662773, 0.6928197741508484,...
2913
W/V. Current can be measured by a multimeter, a device that can measure electrical voltage, current, and resistance. The standard ampere is most accurately realized using a Kibble balance, but is in practice maintained via Ohm's law from the units of electromotive force and resistance, the volt and the ohm, since the latter two can be tied to physical phenomena that are relatively easy to reproduce, the Josephson junction and the quantum Hall effect, respectively. At present, techniques to establish the realization of an ampere have a relative uncertainty of approximately a few parts in 10, and involve realizations of
Ampere
[ 0.35144299268722534, -0.497260719537735, 0.5238702297210693, 0.327745646238327, -0.3027358651161194, 0.5634701251983643, 0.09125172346830368, -0.8111828565597534, -0.05589606985449791, 0.01872037723660469, 0.31191760301589966, 0.6076167225837708, 0.12006419897079468, 0.39057594537734985, ...
2914
the watt, the ohm and the volt. Rather than a definition in terms of the force between two current-carrying wires, it has been proposed that the ampere should be defined in terms of the rate of flow of elementary charges. Since a coulomb is approximately equal to elementary charges (such as those carried by protons, or the negative of those carried by electrons), one ampere is approximately equivalent to elementary charges moving past a boundary in one second. ( is the reciprocal of the value of the elementary charge in coulombs.) The proposed change would define 1 A as being
Ampere
[ 0.1466955542564392, -0.46408921480178833, 0.6305803656578064, 0.1875174641609192, -0.34498971700668335, 0.3355202376842499, -0.05438537150621414, -0.8300942778587341, -0.20180247724056244, -0.10771705955266953, 0.2644272744655609, 0.42624372243881226, -0.11250948905944824, 0.50226694345474...
2915
the current in the direction of flow of a particular number of elementary charges per second. In 2005, the International Committee for Weights and Measures (CIPM) agreed to study the proposed change. The new definition was discussed at the 25th General Conference on Weights and Measures (CGPM) in 2014 but for the time being was not adopted. The current drawn by typical constant-voltage energy distribution systems is usually dictated by the power (watt) consumed by the system and the operating voltage. For this reason the examples given below are grouped by voltage level. A typical motor vehicle has a 12
Ampere
[ 0.3773207366466522, -0.3976811170578003, 0.8560449481010437, 0.21487268805503845, -0.30513444542884827, 0.334990531206131, -0.05214680731296539, -0.6908426284790039, -0.3326740562915802, 0.1251220405101776, 0.28909143805503845, 0.777830183506012, 0.025016777217388153, 0.3406233489513397, ...
2916
V battery. The various accessories that are powered by the battery might include: Most Canada, Mexico and United States domestic power suppliers run at 120 V. Household circuit breakers typically provide a maximum of 15 A or 20 A of current to a given set of outlets. Most European domestic power supplies run at 230 V, and most Commonwealth domestic power supplies run at 240 V. For the same amount of power (in watts), the current drawn by a particular European or Commonwealth appliance (in Europe or a Commonwealth country) will be less than for an equivalent North American appliance.
Ampere
[ 0.5595003962516785, -0.48051199316978455, 0.8823733329772949, 0.13396985828876495, -0.1952114701271057, 0.27479681372642517, -0.050175707787275314, -0.4527670443058014, -0.03869122639298439, 0.09743805974721909, 0.028341446071863174, 0.8835465908050537, -0.022099781781435013, 0.30217558145...
2917
Typical circuit breakers will provide 16 A. The current drawn by a number of typical appliances are: Ampere The ampere (; symbol: A), often shortened to "amp", is the base unit of electric current in the International System of Units (SI). It is named after André-Marie Ampère (1775–1836), French mathematician and physicist, considered the father of electrodynamics. The International System of Units defines the ampere in terms of other base units by measuring the electromagnetic force between electrical conductors carrying electric current. The earlier CGS measurement system had two different definitions of current, one essentially the same as the SI's
Ampere
[ 0.3754890561103821, -0.3931080996990204, 0.2768988609313965, 0.12209764122962952, -0.48459169268608093, 0.9230348467826843, -0.23216737806797028, -0.7380122542381287, -0.22346463799476624, 0.13170288503170013, 0.31859785318374634, 0.44812047481536865, -0.17762131989002228, 0.73987209796905...
2918
Algorithm In mathematics and computer science, an algorithm () is an unambiguous specification of how to solve a class of problems. Algorithms can perform calculation, data processing, and automated reasoning tasks. As an effective method, an algorithm can be expressed within a finite amount of space and time and in a well-defined formal language for calculating a function. Starting from an initial state and initial input (perhaps empty), the instructions describe a computation that, when executed, proceeds through a finite number of well-defined successive states, eventually producing "output" and terminating at a final ending state. The transition from one state
Algorithm
[ -0.359306663274765, 0.26193758845329285, -0.1332402527332306, 0.19100819528102875, 0.1840895116329193, 0.338178426027298, 0.38180437684059143, -0.23927612602710724, -0.046595312654972076, -0.7635626792907715, -0.5656529068946838, 0.059204693883657455, -0.43046823143959045, 0.18061189353466...
2919
to the next is not necessarily deterministic; some algorithms, known as randomized algorithms, incorporate random input. The concept of algorithm has existed for centuries. Greek mathematicians used algorithms in, for example, the sieve of Eratosthenes for finding prime numbers and the Euclidean algorithm for finding the greatest common divisor of two numbers. The word "algorithm" itself derives from the 9th century mathematician Muḥammad ibn Mūsā al-Khwārizmī, Latinized "Algoritmi". A partial formalization of what would become the modern concept of algorithm began with attempts to solve the Entscheidungsproblem (decision problem) posed by David Hilbert in 1928. Later formalizations were framed as
Algorithm
[ -0.5432868599891663, -0.34104907512664795, -0.32915908098220825, -0.027369407936930656, 0.032420434057712555, 0.5114873051643372, -0.01051781140267849, -0.2989455461502075, -0.15337106585502625, -0.9224567413330078, -0.15049980580806732, 0.16075657308101654, -0.6462687253952026, 0.21425913...
2920
attempts to define "effective calculability" or "effective method". Those formalizations included the Gödel–Herbrand–Kleene recursive functions of 1930, 1934 and 1935, Alonzo Church's lambda calculus of 1936, Emil Post's Formulation 1 of 1936, and Alan Turing's Turing machines of 1936–37 and 1939. The word 'algorithm' has its roots in Latinizing the name of Muhammad ibn Musa al-Khwarizmi in a first step to "algorismus". Al-Khwārizmī ((, , c. 780–850) was a Persian mathematician, astronomer, geographer, and scholar in the House of Wisdom in Baghdad, whose name means 'the native of Khwarezm', a region that was part of Greater Iran and is now
Algorithm
[ -0.32823824882507324, 0.029114099219441414, -0.30003631114959717, 0.009074588306248188, -0.04802139103412628, 0.5904456377029419, 0.525901198387146, -0.12985336780548096, -0.1203206330537796, -0.3012408912181854, -0.2675613760948181, 0.1295573115348816, -0.6506367325782776, 0.1557815819978...
2921
in Uzbekistan. About 825, al-Khwarizmi wrote an Arabic language treatise on the Hindu–Arabic numeral system, which was translated into Latin during the 12th century under the title "Algoritmi de numero Indorum". This title means "Algoritmi on the numbers of the Indians", where "Algoritmi" was the translator's Latinization of Al-Khwarizmi's name. Al-Khwarizmi was the most widely read mathematician in Europe in the late Middle Ages, primarily through another of his books, the Algebra. In late medieval Latin, "algorismus", English 'algorism', the corruption of his name, simply meant the "decimal number system". In the 15th century, under the influence of the Greek
Algorithm
[ -0.5310428142547607, -0.21780124306678772, -0.19015249609947205, 0.04406839609146118, -0.1982913762331009, 0.5452162623405457, 0.202158123254776, -0.09362167119979858, -0.2708686590194702, -0.27189722657203674, -0.040019746869802475, 0.08751215785741806, -0.7294912338256836, 0.090774111449...
2922
word ἀριθμός 'number' ("cf." 'arithmetic'), the Latin word was altered to "algorithmus", and the corresponding English term 'algorithm' is first attested in the 17th century; the modern sense was introduced in the 19th century. In English, it was first used in about 1230 and then by Chaucer in 1391. English adopted the French term, but it wasn't until the late 19th century that "algorithm" took on the meaning that it has in modern English. Another early use of the word is from 1240, in a manual titled "Carmen de Algorismo" composed by Alexandre de Villedieu. It begins thus: which translates
Algorithm
[ -0.32818499207496643, -0.22262288630008698, -0.021663334220647812, -0.07563285529613495, -0.008413855917751789, 0.37501442432403564, 0.22990299761295319, -0.03900240361690521, -0.17795927822589874, -0.39605575799942017, 0.016617072746157646, 0.3833443224430084, -0.4405519962310791, -0.1368...
2923
as: The poem is a few hundred lines long and summarizes the art of calculating with the new style of Indian dice, or Talibus Indorum, or Hindu numerals. An informal definition could be "a set of rules that precisely defines a sequence of operations." which would include all computer programs, including programs that do not perform numeric calculations. Generally, a program is only an algorithm if it stops eventually. A prototypical example of an algorithm is the Euclidean algorithm to determine the maximum common divisor of two integers; an example (there are others) is described by the flowchart above and
Algorithm
[ -0.04714396968483925, -0.06766095757484436, -0.14598235487937927, 0.3044598400592804, 0.05105992779135704, 0.1654944121837616, -0.11893433332443237, -0.20462293922901154, -0.1499062329530716, -0.48323819041252136, -0.10045603662729263, 0.13895045220851898, -0.20469842851161957, 0.061765585...
2924
as an example in a later section. No human being can write fast enough, or long enough, or small enough† ( †"smaller and smaller without limit ...you'd be trying to write on molecules, on atoms, on electrons") to list all members of an enumerably infinite set by writing out their names, one after another, in some notation. But humans can do something equally useful, in the case of certain enumerably infinite sets: They can give "explicit instructions for determining the nth member of the set", for arbitrary finite "n". Such instructions are to be given quite explicitly, in a form
Algorithm
[ -0.4672325551509857, 0.0221564881503582, 0.07522963732481003, 0.059206582605838776, 0.16419681906700134, -0.015420005656778812, 0.2933211624622345, -0.054363325238227844, -0.14962102472782135, -0.7048424482345581, -0.1450832039117813, 0.2770084738731384, -0.47342634201049805, -0.1013335660...
2925
in which "they could be followed by a computing machine", or by a "human who is capable of carrying out only very elementary operations on symbols." An "enumerably infinite set" is one whose elements can be put into one-to-one correspondence with the integers. Thus, Boolos and Jeffrey are saying that an algorithm implies instructions for a process that "creates" output integers from an "arbitrary" "input" integer or integers that, in theory, can be arbitrarily large. Thus an algorithm can be an algebraic equation such as "y = m + n" – two arbitrary "input variables" "m" and "n" that produce
Algorithm
[ -0.2856021821498871, -0.06778917461633682, -0.031073277816176414, 0.0891534611582756, 0.033941153436899185, 0.16617417335510254, 0.17994524538516998, -0.35097208619117737, -0.3651995360851288, -0.5501565933227539, -0.3039468824863434, 0.33369264006614685, -0.5768845677375793, -0.0620811097...
2926
an output "y". But various authors' attempts to define the notion indicate that the word implies much more than this, something on the order of (for the addition example): The concept of "algorithm" is also used to define the notion of decidability. That notion is central for explaining how formal systems come into being starting from a small set of axioms and rules. In logic, the time that an algorithm requires to complete cannot be measured, as it is not apparently related to our customary physical dimension. From such uncertainties, that characterize ongoing work, stems the unavailability of a definition
Algorithm
[ -0.05716010555624962, -0.03835481032729149, -0.22984720766544342, 0.3823486566543579, 0.12983855605125427, -0.09705248475074768, 0.31839123368263245, -0.26469430327415466, -0.19202716648578644, -0.7652271389961243, -0.34575796127319336, 0.21106010675430298, -0.1273546814918518, 0.149134457...
2927
of "algorithm" that suits both concrete (in some sense) and abstract usage of the term. Algorithms are essential to the way computers process data. Many computer programs contain algorithms that detail the specific instructions a computer should perform (in a specific order) to carry out a specified task, such as calculating employees' paychecks or printing students' report cards. Thus, an algorithm can be considered to be any sequence of operations that can be simulated by a Turing-complete system. Authors who assert this thesis include Minsky (1967), Savage (1987) and Gurevich (2000): Typically, when an algorithm is associated with processing information,
Algorithm
[ 0.03855367377400398, 0.07321038097143173, -0.34302377700805664, 0.30186161398887634, 0.16887271404266357, 0.24988745152950287, 0.15124541521072388, -0.24665109813213348, -0.02601471357047558, -0.4851062297821045, -0.2100132405757904, 0.48986247181892395, -0.39079779386520386, -0.0664608478...
2928
data can be read from an input source, written to an output device and stored for further processing. Stored data are regarded as part of the internal state of the entity performing the algorithm. In practice, the state is stored in one or more data structures. For some such computational process, the algorithm must be rigorously defined: specified in the way it applies in all possible circumstances that could arise. That is, any conditional steps must be systematically dealt with, case-by-case; the criteria for each case must be clear (and computable). Because an algorithm is a precise list of precise
Algorithm
[ -0.13103477656841278, -0.009557459503412247, 0.015162182971835136, 0.18180175125598907, 0.3707485795021057, 0.04944556951522827, 0.3829253017902374, -0.24490080773830414, -0.0074349865317344666, -0.6681312918663025, -0.4618051052093506, 0.45395174622535706, -0.2355307787656784, -0.05436751...
2929
steps, the order of computation is always crucial to the functioning of the algorithm. Instructions are usually assumed to be listed explicitly, and are described as starting "from the top" and going "down to the bottom", an idea that is described more formally by "flow of control". So far, this discussion of the formalization of an algorithm has assumed the premises of imperative programming. This is the most common conception, and it attempts to describe a task in discrete, "mechanical" means. Unique to this conception of formalized algorithms is the assignment operation, setting the value of a variable. It derives
Algorithm
[ -0.32424071431159973, -0.14273793995380402, -0.06946337223052979, 0.22269660234451294, 0.047498200088739395, 0.09473825991153717, 0.28850361704826355, -0.3350411653518677, -0.2969815731048584, -0.5466684699058533, -0.48800569772720337, 0.4625310003757477, -0.4177987277507782, -0.1409454196...
2930
from the intuition of "memory" as a scratchpad. There is an example below of such an assignment. For some alternate conceptions of what constitutes an algorithm see functional programming and logic programming. Algorithms can be expressed in many kinds of notation, including natural languages, pseudocode, flowcharts, drakon-charts, programming languages or control tables (processed by interpreters). Natural language expressions of algorithms tend to be verbose and ambiguous, and are rarely used for complex or technical algorithms. Pseudocode, flowcharts, drakon-charts and control tables are structured ways to express algorithms that avoid many of the ambiguities common in natural language statements. Programming languages
Algorithm
[ -0.1698015183210373, 0.22123605012893677, -0.1541195958852768, 0.2543202042579651, 0.02171488106250763, 0.15830546617507935, 0.3458663523197174, -0.02803531289100647, -0.11587965488433838, -0.8170140981674194, -0.48897886276245117, 0.16346940398216248, -0.524168074131012, -0.01399101410061...
2931
are primarily intended for expressing algorithms in a form that can be executed by a computer but are often used as a way to define or document algorithms. There is a wide variety of representations possible and one can express a given Turing machine program as a sequence of machine tables (see more at finite-state machine, state transition table and control table), as flowcharts and drakon-charts (see more at state diagram), or as a form of rudimentary machine code or assembly code called "sets of quadruples" (see more at Turing machine). Representations of algorithms can be classed into three accepted
Algorithm
[ -0.009892587549984455, -0.03943406790494919, -0.08179470896720886, 0.3015270233154297, -0.20529042184352875, 0.4195028245449066, 0.17574898898601532, -0.2456343024969101, -0.45533454418182373, -0.8506186008453369, -0.3222244083881378, 0.07237653434276581, -0.46019092202186584, 0.1648589223...
2932
levels of Turing machine description: For an example of the simple algorithm "Add m+n" described in all three levels, see Algorithm#Examples. Algorithm design refers to a method or mathematical process for problem-solving and engineering algorithms. The design of algorithms is part of many solution theories of operation research, such as dynamic programming and divide-and-conquer. Techniques for designing and implementing algorithm designs are also called algorithm design patterns, such as the template method pattern and decorator pattern. One of the most important aspects of algorithm design is creating an algorithm that has an efficient run-time, also known as its Big O.
Algorithm
[ -0.044153954833745956, 0.18601778149604797, -0.22775931656360626, 0.20543287694454193, 0.08194916695356369, 0.14439719915390015, 0.29069000482559204, -0.145386204123497, -0.3048537075519562, -0.9223789572715759, -0.4782615303993225, 0.3067127466201782, -0.4520071744918823, 0.03783653303980...
2933
Typical steps in the development of algorithms: Most algorithms are intended to be implemented as computer programs. However, algorithms are also implemented by other means, such as in a biological neural network (for example, the human brain implementing arithmetic or an insect looking for food), in an electrical circuit, or in a mechanical device. In computer systems, an algorithm is basically an instance of logic written in software by software developers, to be effective for the intended "target" computer(s) to produce "output" from given (perhaps null) "input". An optimal algorithm, even running in old hardware, would produce faster results than
Algorithm
[ 0.022573646157979965, 0.07302669435739517, -0.10407335311174393, 0.3066544532775879, 0.17876088619232178, 0.10757385939359665, 0.3929902911186218, 0.007031476125121117, -0.0552915558218956, -0.9522793889045715, -0.40122947096824646, 0.35512423515319824, -0.4248998463153839, 0.0044849500991...
2934
a non-optimal (higher time complexity) algorithm for the same purpose, running in more efficient hardware; that is why algorithms, like computer hardware, are considered technology. ""Elegant" (compact) programs, "good" (fast) programs ": The notion of "simplicity and elegance" appears informally in Knuth and precisely in Chaitin: Chaitin prefaces his definition with: "I'll show you can't prove that a program is 'elegant—such a proof would solve the Halting problem (ibid). "Algorithm versus function computable by an algorithm": For a given function multiple algorithms may exist. This is true, even without expanding the available instruction set available to the programmer. Rogers observes
Algorithm
[ -0.4079400599002838, 0.16572421789169312, -0.199860617518425, 0.2363048791885376, -0.08105725795030594, 0.010861496441066265, 0.38097625970840454, -0.5357868075370789, -0.1844310611486435, -0.5358446836471558, -0.4622480869293213, 0.43459850549697876, -0.35893967747688293, -0.2027473747730...
2935
that "It is . . . important to distinguish between the notion of "algorithm", i.e. procedure and the notion of "function computable by algorithm", i.e. mapping yielded by procedure. The same function may have several different algorithms". Unfortunately, there may be a tradeoff between goodness (speed) and elegance (compactness)—an elegant program may take more steps to complete a computation than one less elegant. An example that uses Euclid's algorithm appears below. "Computers (and computors), models of computation": A computer (or human "computor") is a restricted type of machine, a "discrete deterministic mechanical device" that blindly follows its instructions. Melzak's and
Algorithm
[ -0.1461077183485031, 0.03916335850954056, -0.05203954502940178, 0.3837234377861023, 0.053445685654878616, 0.08862994611263275, 0.10643791407346725, -0.5073736906051636, -0.0774141475558281, -0.5314164757728577, -0.36140304803848267, 0.4475823938846588, -0.4739397168159485, 0.02341217920184...
2936
Lambek's primitive models reduced this notion to four elements: (i) discrete, distinguishable "locations", (ii) discrete, indistinguishable "counters" (iii) an agent, and (iv) a list of instructions that are "effective" relative to the capability of the agent. Minsky describes a more congenial variation of Lambek's "abacus" model in his "Very Simple Bases for Computability". Minsky's machine proceeds sequentially through its five (or six, depending on how one counts) instructions, unless either a conditional IF–THEN GOTO or an unconditional GOTO changes program flow out of sequence. Besides HALT, Minsky's machine includes three "assignment" (replacement, substitution) operations: ZERO (e.g. the contents of location
Algorithm
[ -0.5784221291542053, -0.2341855764389038, -0.175555020570755, 0.13088704645633698, -0.07313479483127594, 0.49424493312835693, 0.5119510293006897, -0.44618505239486694, -0.17528410255908966, -0.17112049460411072, -0.36702316999435425, 0.1511615812778473, -0.7936323881149292, 0.0709401220083...
2937
replaced by 0: L ← 0), SUCCESSOR (e.g. L ← L+1), and DECREMENT (e.g. L ← L − 1). Rarely must a programmer write "code" with such a limited instruction set. But Minsky shows (as do Melzak and Lambek) that his machine is Turing complete with only four general "types" of instructions: conditional GOTO, unconditional GOTO, assignment/replacement/substitution, and HALT. "Simulation of an algorithm: computer (computor) language": Knuth advises the reader that "the best way to learn an algorithm is to try it . . . immediately take pen and paper and work through an example". But what about a simulation
Algorithm
[ -0.3962809145450592, -0.12046921998262405, -0.19978207349777222, 0.15827107429504395, -0.0915713831782341, 0.1372450888156891, 0.5043441653251648, -0.3606249988079071, -0.11794525384902954, -0.6620458960533142, -0.23833546042442322, 0.2093181312084198, -0.4014851748943329, -0.0967735722661...
2938
or execution of the real thing? The programmer must translate the algorithm into a language that the simulator/computer/computor can "effectively" execute. Stone gives an example of this: when computing the roots of a quadratic equation the computor must know how to take a square root. If they don't, then the algorithm, to be effective, must provide a set of rules for extracting a square root. This means that the programmer must know a "language" that is effective relative to the target computing agent (computer/computor). But what model should be used for the simulation? Van Emde Boas observes "even if we
Algorithm
[ -0.21867646276950836, 0.005840209778398275, -0.13964645564556122, 0.31458020210266113, 0.0028449958190321922, 0.2936656177043915, 0.49025481939315796, -0.36409735679626465, 0.01974583975970745, -0.6277192831039429, -0.21347399055957794, 0.6163435578346252, -0.3516564965248108, -0.304997265...
2939
base complexity theory on abstract instead of concrete machines, arbitrariness of the choice of a model remains. It is at this point that the notion of "simulation" enters". When speed is being measured, the instruction set matters. For example, the subprogram in Euclid's algorithm to compute the remainder would execute much faster if the programmer had a "modulus" instruction available rather than just subtraction (or worse: just Minsky's "decrement"). "Structured programming, canonical structures": Per the Church–Turing thesis, any algorithm can be computed by a model known to be Turing complete, and per Minsky's demonstrations, Turing completeness requires only four instruction
Algorithm
[ -0.2430785745382309, -0.030410228297114372, -0.08117654919624329, 0.20175591111183167, -0.025404397398233414, 0.11928116530179977, 0.37543147802352905, -0.47830405831336975, -0.151792973279953, -0.5750798583030701, -0.26123836636543274, 0.5143629908561707, -0.41832736134529114, -0.07045785...
2940
types—conditional GOTO, unconditional GOTO, assignment, HALT. Kemeny and Kurtz observe that, while "undisciplined" use of unconditional GOTOs and conditional IF-THEN GOTOs can result in "spaghetti code", a programmer can write structured programs using only these instructions; on the other hand "it is also possible, and not too hard, to write badly structured programs in a structured language". Tausworthe augments the three Böhm-Jacopini canonical structures: SEQUENCE, IF-THEN-ELSE, and WHILE-DO, with two more: DO-WHILE and CASE. An additional benefit of a structured program is that it lends itself to proofs of correctness using mathematical induction. "Canonical flowchart symbols": The graphical aide called
Algorithm
[ -0.13857467472553253, -0.23465360701084137, -0.13543058931827545, 0.14549051225185394, -0.20440109074115753, -0.04345017671585083, 0.30023691058158875, -0.4507187604904175, 0.03508530557155609, -0.3481946885585785, -0.14657284319400787, 0.443126916885376, -0.5371800661087036, -0.1486271023...
2941
a flowchart, offers a way to describe and document an algorithm (and a computer program of one). Like the program flow of a Minsky machine, a flowchart always starts at the top of a page and proceeds down. Its primary symbols are only four: the directed arrow showing program flow, the rectangle (SEQUENCE, GOTO), the diamond (IF-THEN-ELSE), and the dot (OR-tie). The Böhm–Jacopini canonical structures are made of these primitive shapes. Sub-structures can "nest" in rectangles, but only if a single exit occurs from the superstructure. The symbols, and their use to build the canonical structures are shown in the
Algorithm
[ -0.24526368081569672, -0.03790944814682007, 0.5398367643356323, 0.24854257702827454, -0.022614212706685066, 0.15458568930625916, 0.15028628706932068, -0.30831408500671387, -0.12812162935733795, -0.5704122185707092, -0.37429606914520264, 0.1240801140666008, -0.48137614130973816, 0.026994664...
2942
diagram. One of the simplest algorithms is to find the largest number in a list of numbers of random order. Finding the solution requires looking at every number in the list. From this follows a simple algorithm, which can be stated in a high-level description in English prose, as: "High-level description:" "(Quasi-)formal description:" Written in prose but much closer to the high-level language of a computer program, the following is the more formal coding of the algorithm in pseudocode or pidgin code: Euclid's algorithm to compute the greatest common divisor (GCD) to two numbers appears as Proposition II in Book
Algorithm
[ -0.3846997022628784, -0.08993765711784363, 0.1784449815750122, 0.039050325751304626, -0.2151564061641693, -0.12529772520065308, 0.07569805532693863, -0.3480764925479889, -0.20014283061027527, -0.8083979487419128, -0.47447869181632996, 0.07961691170930862, -0.8494887351989746, -0.1135098114...
2943
VII ("Elementary Number Theory") of his "Elements". Euclid poses the problem thus: "Given two numbers not prime to one another, to find their greatest common measure". He defines "A number [to be] a multitude composed of units": a counting number, a positive integer not including zero. To "measure" is to place a shorter measuring length "s" successively ("q" times) along longer length "l" until the remaining portion "r" is less than the shorter length "s". In modern words, remainder "r" = "l" − "q"×"s", "q" being the quotient, or remainder "r" is the "modulus", the integer-fractional part left over after
Algorithm
[ -0.509175181388855, -0.25288838148117065, 0.18046729266643524, 0.0034480083268135786, 0.18832579255104065, 0.41583874821662903, 0.12680818140506744, -0.38015908002853394, -0.1126013696193695, -0.39293327927589417, -0.19827841222286224, 0.3119690418243408, -0.45110419392585754, 0.0560033656...
2944
the division. For Euclid's method to succeed, the starting lengths must satisfy two requirements: (i) the lengths must not be zero, AND (ii) the subtraction must be “proper”; i.e., a test must guarantee that the smaller of the two numbers is subtracted from the larger (alternately, the two can be equal so their subtraction yields zero). Euclid's original proof adds a third requirement: the two lengths must not be prime to one another. Euclid stipulated this so that he could construct a reductio ad absurdum proof that the two numbers' common measure is in fact the "greatest". While Nicomachus' algorithm
Algorithm
[ -0.6238102316856384, -0.1506710797548294, -0.1672908365726471, -0.039408884942531586, 0.14491897821426392, 0.4419686794281006, 0.26957160234451294, -0.5878633856773376, -0.2969375550746918, -0.5414194464683533, -0.24728992581367493, 0.29973793029785156, -0.5938161611557007, 0.0909389033913...
2945
is the same as Euclid's, when the numbers are prime to one another, it yields the number "1" for their common measure. So, to be precise, the following is really Nicomachus' algorithm. Only a few instruction "types" are required to execute Euclid's algorithm—some logical tests (conditional GOTO), unconditional GOTO, assignment (replacement), and subtraction. The following algorithm is framed as Knuth's four-step version of Euclid's and Nicomachus', but, rather than using division to find the remainder, it uses successive subtractions of the shorter length "s" from the remaining length "r" until "r" is less than "s". The high-level description, shown in
Algorithm
[ -0.37747952342033386, -0.047128885984420776, 0.022834211587905884, 0.018880747258663177, 0.006397264543920755, 0.05058344453573227, 0.34955576062202454, -0.6090682148933411, -0.10963019728660583, -0.31376537680625916, -0.30998173356056213, 0.19695457816123962, -0.5320659875869751, -0.11784...
2946
boldface, is adapted from Knuth 1973:2–4: INPUT: E0: [Ensure "r" ≥ "s".] E1: [Find remainder]: Until the remaining length "r" in R is less than the shorter length "s" in S, repeatedly subtract the measuring number "s" in S from the remaining length "r" in R. E2: [Is the remainder zero?]: EITHER (i) the last measure was exact, the remainder in R is zero, and the program can halt, OR (ii) the algorithm must continue: the last measure left a remainder in R less than measuring number in S. E3: [Interchange "s" and "r"]: The nut of Euclid's algorithm. Use
Algorithm
[ -0.8475975394248962, -0.060527365654706955, 0.236130952835083, -0.19366246461868286, 0.08674237132072449, 0.08092392981052399, 0.426330029964447, -0.3969736695289612, -0.4275609254837036, -0.4377801716327667, -0.3895541727542877, 0.22262555360794067, -0.5102556943893433, 0.0544418916106224...
2947
remainder "r" to measure what was previously smaller number "s"; L serves as a temporary location. OUTPUT: DONE: The following version of Euclid's algorithm requires only six core instructions to do what thirteen are required to do by "Inelegant"; worse, "Inelegant" requires more "types" of instructions. The flowchart of "Elegant" can be found at the top of this article. In the (unstructured) Basic language, the steps are numbered, and the instruction is the assignment instruction symbolized by ←. The following version can be used with Object Oriented languages: "How "Elegant" works": In place of an outer "Euclid loop", "Elegant" shifts
Algorithm
[ -0.5745802521705627, -0.3029749095439911, 0.39937523007392883, -0.13248462975025177, 0.0737752616405487, 0.07042838633060455, 0.33771011233329773, -0.7208210825920105, 0.02291882410645485, -0.5095348358154297, -0.33661124110221863, 0.18973445892333984, -0.45505431294441223, -0.314582437276...
2948
back and forth between two "co-loops", an A > B loop that computes A ← A − B, and a B ≤ A loop that computes B ← B − A. This works because, when at last the minuend M is less than or equal to the subtrahend S ( Difference = Minuend − Subtrahend), the minuend can become "s" (the new measuring length) and the subtrahend can become the new "r" (the length to be measured); in other words the "sense" of the subtraction reverses. Does an algorithm do what its author wants it to do? A few test
Algorithm
[ -0.6460615992546082, -0.2060711830854416, 0.1970302164554596, -0.0881807878613472, 0.06494264304637909, 0.24907603859901428, 0.4258708655834198, -0.5270764827728271, -0.023379137739539146, -0.4867088198661804, 0.09274623543024063, 0.2615228593349457, -0.41475027799606323, 0.048864666372537...
2949
cases usually suffice to confirm core functionality. One source uses 3009 and 884. Knuth suggested 40902, 24140. Another interesting case is the two relatively prime numbers 14157 and 5950. But exceptional cases must be identified and tested. Will "Inelegant" perform properly when R > S, S > R, R = S? Ditto for "Elegant": B > A, A > B, A = B? (Yes to all). What happens when one number is zero, both numbers are zero? ("Inelegant" computes forever in all cases; "Elegant" computes forever when A = 0.) What happens if "negative" numbers are entered? Fractional numbers? If
Algorithm
[ -0.7532984018325806, -0.22759830951690674, 0.1200762465596199, -0.045796774327754974, 0.26266980171203613, 0.013313040137290955, 0.4941764175891876, -0.30003952980041504, -0.13196194171905518, -0.4824141561985016, -0.06498565524816513, 0.25383293628692627, -0.40953555703163147, -0.00624663...
2950
the input numbers, i.e. the domain of the function computed by the algorithm/program, is to include only positive integers including zero, then the failures at zero indicate that the algorithm (and the program that instantiates it) is a partial function rather than a total function. A notable failure due to exceptions is the Ariane 5 Flight 501 rocket failure (June 4, 1996). "Proof of program correctness by use of mathematical induction": Knuth demonstrates the application of mathematical induction to an "extended" version of Euclid's algorithm, and he proposes "a general method applicable to proving the validity of any algorithm". Tausworthe
Algorithm
[ -0.32073459029197693, 0.18462039530277252, -0.04303419589996338, 0.24323180317878723, 0.2368364930152893, 0.0417344905436039, 0.3215872049331665, -0.4008449912071228, -0.3606153428554535, 0.22471266984939575, -0.18810398876667023, 0.4211544692516327, -0.3932122588157654, -0.061163112521171...
2951
proposes that a measure of the complexity of a program be the length of its correctness proof. "Elegance (compactness) versus goodness (speed)": With only six core instructions, "Elegant" is the clear winner, compared to "Inelegant" at thirteen instructions. However, "Inelegant" is "faster" (it arrives at HALT in fewer steps). Algorithm analysis indicates why this is the case: "Elegant" does "two" conditional tests in every subtraction loop, whereas "Inelegant" only does one. As the algorithm (usually) requires many loop-throughs, "on average" much time is wasted doing a "B = 0?" test that is needed only after the remainder is computed. "Can
Algorithm
[ -0.703864336013794, -0.1745561957359314, 0.04863987863063812, 0.18678011000156403, -0.26178207993507385, 0.3352816700935364, 0.6830936074256897, -0.7781197428703308, -0.14914652705192566, -0.6187087297439575, -0.3335146903991699, 0.3141803741455078, -0.06006844714283943, -0.058242566883563...
2952
the algorithms be improved?": Once the programmer judges a program "fit" and "effective"—that is, it computes the function intended by its author—then the question becomes, can it be improved? The compactness of "Inelegant" can be improved by the elimination of five steps. But Chaitin proved that compacting an algorithm cannot be automated by a generalized algorithm; rather, it can only be done heuristically; i.e., by exhaustive search (examples to be found at Busy beaver), trial and error, cleverness, insight, application of inductive reasoning, etc. Observe that steps 4, 5 and 6 are repeated in steps 11, 12 and 13. Comparison
Algorithm
[ -0.2625674307346344, 0.17111152410507202, -0.04403102397918701, 0.14920945465564728, -0.04742192476987839, 0.515762448310852, 0.35668623447418213, -0.6626394391059875, -0.01446094922721386, -0.6875565052032471, -0.15606199204921722, 0.6926972270011902, -0.47147977352142334, -0.383956760168...
2953
with "Elegant" provides a hint that these steps, together with steps 2 and 3, can be eliminated. This reduces the number of core instructions from thirteen to eight, which makes it "more elegant" than "Elegant", at nine steps. The speed of "Elegant" can be improved by moving the "B=0?" test outside of the two subtraction loops. This change calls for the addition of three instructions (B = 0?, A = 0?, GOTO). Now "Elegant" computes the example-numbers faster; whether this is always the case for any given A, B, and R, S would require a detailed analysis. It is frequently
Algorithm
[ -0.4223305881023407, -0.24211496114730835, 0.3107454478740692, -0.23090197145938873, -0.08305088430643082, 0.32394999265670776, 0.4621596336364746, -0.8446670174598694, -0.17691195011138916, -0.3027481436729431, -0.11412067711353302, 0.27569106221199036, -0.4288356304168701, -0.29980736970...
2954
important to know how much of a particular resource (such as time or storage) is theoretically required for a given algorithm. Methods have been developed for the analysis of algorithms to obtain such quantitative answers (estimates); for example, the sorting algorithm above has a time requirement of O("n"), using the big O notation with "n" as the length of the list. At all times the algorithm only needs to remember two values: the largest number found so far, and its current position in the input list. Therefore, it is said to have a space requirement of "O(1)", if the space
Algorithm
[ -0.4772138297557831, 0.0749034732580185, 0.038505714386701584, 0.05650892108678818, 0.32742840051651, 0.10449648648500443, 0.15553919970989227, -0.33321940898895264, -0.36545079946517944, -0.695184051990509, -0.24580471217632294, 0.2579651176929474, -0.2664705812931061, 0.06299101561307907...
2955
required to store the input numbers is not counted, or O("n") if it is counted. Different algorithms may complete the same task with a different set of instructions in less or more time, space, or 'effort' than others. For example, a binary search algorithm (with cost O(log n) ) outperforms a sequential search (cost O(n) ) when used for table lookups on sorted lists or arrays. The analysis, and study of algorithms is a discipline of computer science, and is often practiced abstractly without the use of a specific programming language or implementation. In this sense, algorithm analysis resembles other
Algorithm
[ -0.17951741814613342, 0.21962842345237732, -0.2629949152469635, 0.16501471400260925, -0.04599630832672119, 0.32286977767944336, 0.13694623112678528, -0.3684065341949463, -0.2479778528213501, -0.7740729451179504, -0.2891961634159088, 0.28324660658836365, -0.46024999022483826, -0.02337587438...
2956
mathematical disciplines in that it focuses on the underlying properties of the algorithm and not on the specifics of any particular implementation. Usually pseudocode is used for analysis as it is the simplest and most general representation. However, ultimately, most algorithms are usually implemented on particular hardware/software platforms and their algorithmic efficiency is eventually put to the test using real code. For the solution of a "one off" problem, the efficiency of a particular algorithm may not have significant consequences (unless n is extremely large) but for algorithms designed for fast interactive, commercial or long life scientific usage it may
Algorithm
[ 0.02485624887049198, 0.11230423301458359, -0.06194794178009033, 0.41758427023887634, 0.13427995145320892, -0.0668049082159996, 0.27974802255630493, -0.13608646392822266, -0.13931907713413239, -0.7359305024147034, -0.4059465527534485, 0.33974263072013855, -0.38362619280815125, 0.00352269737...
2957
be critical. Scaling from small n to large n frequently exposes inefficient algorithms that are otherwise benign. Empirical testing is useful because it may uncover unexpected interactions that affect performance. Benchmarks may be used to compare before/after potential improvements to an algorithm after program optimization. Empirical tests cannot replace formal analysis, though, and are not trivial to perform in a fair manner. To illustrate the potential improvements possible even in well-established algorithms, a recent significant innovation, relating to FFT algorithms (used heavily in the field of image processing), can decrease processing time up to 1,000 times for applications like medical
Algorithm
[ -0.05999283492565155, 0.026160351932048798, 0.16350741684436798, 0.3429664969444275, 0.12191067636013031, 0.023540884256362915, 0.3252016603946686, -0.2337103933095932, -0.3795904219150543, -0.9098612666130066, -0.08345107734203339, 0.5391379594802856, -0.3327123820781708, -0.2056657373905...
2958
imaging. In general, speed improvements depend on special properties of the problem, which are very common in practical applications. Speedups of this magnitude enable computing devices that make extensive use of image processing (like digital cameras and medical equipment) to consume less power. There are various ways to classify algorithms, each with its own merits. One way to classify algorithms is by implementation means. Another way of classifying algorithms is by their design methodology or paradigm. There is a certain number of paradigms, each different from the other. Furthermore, each of these categories includes many different types of algorithms. Some
Algorithm
[ 0.03525247797369957, 0.06941455602645874, 0.07750613987445831, 0.2904856503009796, 0.12050380557775497, 0.10994316637516022, 0.268124520778656, -0.25352683663368225, -0.3826014995574951, -0.8928861618041992, -0.16987411677837372, 0.37303364276885986, -0.3290177285671234, -0.108410827815532...
2959
common paradigms are: For optimization problems there is a more specific classification of algorithms; an algorithm for such problems may fall into one or more of the general categories described above as well as into one of the following: Every field of science has its own problems and needs efficient algorithms. Related problems in one field are often studied together. Some example classes are search algorithms, sorting algorithms, merge algorithms, numerical algorithms, graph algorithms, string algorithms, computational geometric algorithms, combinatorial algorithms, medical algorithms, machine learning, cryptography, data compression algorithms and parsing techniques. Fields tend to overlap with each other, and
Algorithm
[ -0.03379898890852928, -0.07996115833520889, -0.025648726150393486, 0.2919393479824066, 0.047459427267313004, 0.15086863934993744, 0.1538521647453308, -0.08897867053747177, -0.4248425364494324, -0.8139393329620361, -0.3753053843975067, 0.3079010844230652, -0.463711678981781, 0.2124273031949...
2960
algorithm advances in one field may improve those of other, sometimes completely unrelated, fields. For example, dynamic programming was invented for optimization of resource consumption in industry but is now used in solving a broad range of problems in many fields. Algorithms can be classified by the amount of time they need to complete compared to their input size: Some problems may have multiple algorithms of differing complexity, while other problems might have no algorithms or no known efficient algorithms. There are also mappings from some problems to other problems. Owing to this, it was found to be more suitable
Algorithm
[ -0.37104541063308716, -0.15759167075157166, -0.008190584369003773, 0.2842385172843933, 0.10366132855415344, 0.09231708943843842, 0.24815738201141357, -0.12056685984134674, -0.3431013822555542, -0.9543868899345398, -0.28587606549263, 0.36764562129974365, -0.49595457315444946, 0.013984983786...
2961
to classify the problems themselves instead of the algorithms into equivalence classes based on the complexity of the best possible algorithms for them. The adjective "continuous" when applied to the word "algorithm" can mean: Algorithms, by themselves, are not usually patentable. In the United States, a claim consisting solely of simple manipulations of abstract concepts, numbers, or signals does not constitute "processes" (USPTO 2006), and hence algorithms are not patentable (as in Gottschalk v. Benson). However practical applications of algorithms are sometimes patentable. For example, in Diamond v. Diehr, the application of a simple feedback algorithm to aid in the
Algorithm
[ 0.12064975500106812, 0.1701226830482483, -0.1702006310224533, 0.4366399645805359, 0.4389667510986328, -0.10962070524692535, 0.10881723463535309, -0.09721198678016663, -0.40748968720436096, -0.07150594890117645, -0.32633909583091736, 0.43791744112968445, -0.2208363264799118, 0.1621912270784...
2962
curing of synthetic rubber was deemed patentable. The patenting of software is highly controversial, and there are highly criticized patents involving algorithms, especially data compression algorithms, such as Unisys' LZW patent. Additionally, some cryptographic algorithms have export restrictions (see export of cryptography). Algorithms were used in ancient Greece. Two examples are the Sieve of Eratosthenes, which was described in Introduction to Arithmetic by Nicomachus, and the Euclidean algorithm, which was first described in Euclid's Elements (c. 300 BC). Babylonian clay tablets describe and employ algorithmic procedures to compute the time and place of significant astronomical events. Tally-marks: To keep track
Algorithm
[ 0.22683550417423248, 0.05089300125837326, -0.6565508842468262, 0.11615168303251266, 0.10266473889350891, 0.36611324548721313, -0.0267481729388237, 0.0711054801940918, -0.43262648582458496, -0.48623886704444885, 0.039154645055532455, 0.26707741618156433, -0.6528286337852478, 0.0180022157728...
2963
of their flocks, their sacks of grain and their money the ancients used tallying: accumulating stones or marks scratched on sticks or making discrete symbols in clay. Through the Babylonian and Egyptian use of marks and symbols, eventually Roman numerals and the abacus evolved (Dilson, p. 16–41). Tally marks appear prominently in unary numeral system arithmetic used in Turing machine and Post–Turing machine computations. The work of the ancient Greek geometers (Euclidean algorithm), the Indian mathematician Brahmagupta, and the Persian mathematician Al-Khwarizmi (from whose name the terms "algorism" and "algorithm" are derived), and Western European mathematicians culminated in Leibniz's notion
Algorithm
[ -0.2539139986038208, 0.08660051971673965, -0.5753790736198425, 0.1641816794872284, -0.2457839399576187, 0.6919950842857361, 0.15453998744487762, -0.09318374842405319, -0.16814209520816803, -0.6676766276359558, 0.11554057151079178, 0.032533131539821625, -0.5549046993255615, 0.08599136024713...
2964
of the calculus ratiocinator (ca 1680): "The clock": Bolter credits the invention of the weight-driven clock as "The key invention [of Europe in the Middle Ages]", in particular, the verge escapement that provides us with the tick and tock of a mechanical clock. "The accurate automatic machine" led immediately to "mechanical automata" beginning in the 13th century and finally to "computational machines"—the difference engine and analytical engines of Charles Babbage and Countess Ada Lovelace, mid-19th century. Lovelace is credited with the first creation of an algorithm intended for processing on a computer – Babbage's analytical engine, the first device considered
Algorithm
[ -0.22046875953674316, -0.046984896063804626, 0.030386466532945633, 0.19263958930969238, 0.15109455585479736, 0.7254258394241333, 0.03730960562825203, -0.21900777518749237, -0.021102849394083023, -0.3961423337459564, 0.1312979906797409, 0.6531671285629272, -0.5165045857429504, 0.01938961073...
2965
a real Turing-complete computer instead of just a calculator – and is sometimes called "history's first programmer" as a result, though a full implementation of Babbage's second device would not be realized until decades after her lifetime. "Logical machines 1870—Stanley Jevons' "logical abacus" and "logical machine"": The technical problem was to reduce Boolean equations when presented in a form similar to what is now known as Karnaugh maps. Jevons (1880) describes first a simple "abacus" of "slips of wood furnished with pins, contrived so that any part or class of the [logical] combinations can be picked out mechanically . .
Algorithm
[ -0.740972638130188, -0.3052908182144165, -0.15994574129581451, 0.10784879326820374, -0.06757611781358719, 0.32047873735427856, 0.15797895193099976, -0.35403743386268616, -0.30628281831741333, -0.5379366874694824, -0.11787106096744537, 0.42417845129966736, -0.5919079184532166, -0.1287889331...
2966
. More recently, however, I have reduced the system to a completely mechanical form, and have thus embodied the whole of the indirect process of inference in what may be called a "Logical Machine"" His machine came equipped with "certain moveable wooden rods" and "at the foot are 21 keys like those of a piano [etc] . . .". With this machine he could analyze a "syllogism or any other simple logical argument". This machine he displayed in 1870 before the Fellows of the Royal Society. Another logician John Venn, however, in his 1881 "Symbolic Logic", turned a jaundiced eye
Algorithm
[ -0.5232492685317993, -0.15099264681339264, 0.02344355918467045, 0.09343001991510391, -0.06901157647371292, 0.3679439127445221, 0.2786426544189453, -0.4326637089252472, -0.3821588456630707, -0.3265356421470642, 0.05990118905901909, 0.18984292447566986, -0.48712724447250366, -0.0288784187287...
2967
to this effort: "I have no high estimate myself of the interest or importance of what are sometimes called logical machines ... it does not seem to me that any contrivances at present known or likely to be discovered really deserve the name of logical machines"; see more at Algorithm characterizations. But not to be outdone he too presented "a plan somewhat analogous, I apprehend, to Prof. Jevon's "abacus" ... [And] [a]gain, corresponding to Prof. Jevons's logical machine, the following contrivance may be described. I prefer to call it merely a logical-diagram machine ... but I suppose that it could
Algorithm
[ -0.49785614013671875, -0.07575568556785583, -0.053211405873298645, 0.13266496360301971, 0.01798287406563759, 0.3917228579521179, 0.10405557602643967, -0.38876447081565857, -0.30211201310157776, -0.5390567779541016, -0.17726445198059082, 0.49475428462028503, -0.5437777042388916, -0.09129589...
2968
do very completely all that can be rationally expected of any logical machine". "Jacquard loom, Hollerith punch cards, telegraphy and telephony—the electromechanical relay": Bell and Newell (1971) indicate that the Jacquard loom (1801), precursor to Hollerith cards (punch cards, 1887), and "telephone switching technologies" were the roots of a tree leading to the development of the first computers. By the mid-19th century the telegraph, the precursor of the telephone, was in use throughout the world, its discrete and distinguishable encoding of letters as "dots and dashes" a common sound. By the late 19th century the ticker tape (ca 1870s) was
Algorithm
[ -0.17855264246463776, -0.1169680655002594, 0.0799478068947792, 0.11873126775026321, 0.05477983132004738, 0.22948068380355835, 0.1255999505519867, 0.08408387005329132, -0.002140655880793929, -0.6251192092895508, -0.022548023611307144, 0.3813333213329315, -0.4364642798900604, 0.1555606275796...
2969
in use, as was the use of Hollerith cards in the 1890 U.S. census. Then came the teleprinter (ca. 1910) with its punched-paper use of Baudot code on tape. "Telephone-switching networks" of electromechanical relays (invented 1835) was behind the work of George Stibitz (1937), the inventor of the digital adding device. As he worked in Bell Laboratories, he observed the "burdensome' use of mechanical calculators with gears. "He went home one evening in 1937 intending to test his idea... When the tinkering was over, Stibitz had constructed a binary adding device". Davis (2000) observes the particular importance of the electromechanical
Algorithm
[ -0.07889948785305023, -0.12598860263824463, 0.11209450662136078, 0.3387531042098999, 0.12603016197681427, 0.34663742780685425, -0.16542790830135345, -0.08007531613111496, -0.1424606293439865, -0.49652937054634094, 0.2253469079732895, 0.4441577196121216, -0.36079472303390503, 0.147856697440...
2970
relay (with its two "binary states" "open" and "closed"): "Symbols and rules": In rapid succession, the mathematics of George Boole (1847, 1854), Gottlob Frege (1879), and Giuseppe Peano (1888–1889) reduced arithmetic to a sequence of symbols manipulated by rules. Peano's "The principles of arithmetic, presented by a new method" (1888) was "the first attempt at an axiomatization of mathematics in a symbolic language". But Heijenoort gives Frege (1879) this kudos: Frege's is "perhaps the most important single work ever written in logic. ... in which we see a " 'formula language', that is a "lingua characterica", a language written with
Algorithm
[ -0.36217591166496277, -0.13875363767147064, -0.24687117338180542, 0.14723576605319977, -0.1537192165851593, 0.3115374743938446, 0.3552705943584442, -0.26720574498176575, -0.07022124528884888, -0.5055205821990967, -0.198537677526474, 0.15235178172588348, -0.48794910311698914, -0.06678084284...
2971
special symbols, "for pure thought", that is, free from rhetorical embellishments ... constructed from specific symbols that are manipulated according to definite rules". The work of Frege was further simplified and amplified by Alfred North Whitehead and Bertrand Russell in their Principia Mathematica (1910–1913). "The paradoxes": At the same time a number of disturbing paradoxes appeared in the literature, in particular, the Burali-Forti paradox (1897), the Russell paradox (1902–03), and the Richard Paradox. The resultant considerations led to Kurt Gödel's paper (1931)—he specifically cites the paradox of the liar—that completely reduces rules of recursion to numbers. "Effective calculability": In an
Algorithm
[ -0.48421502113342285, -0.11468739062547684, -0.23463797569274902, 0.3101291358470917, 0.039817798882722855, 0.3049831986427307, 0.37789854407310486, -0.2587854862213135, 0.05142606794834137, -0.4333549439907074, -0.21515990793704987, 0.45309916138648987, -0.6610171794891357, -0.03573169559...
2972
effort to solve the Entscheidungsproblem defined precisely by Hilbert in 1928, mathematicians first set about to define what was meant by an "effective method" or "effective calculation" or "effective calculability" (i.e., a calculation that would succeed). In rapid succession the following appeared: Alonzo Church, Stephen Kleene and J. B. Rosser's λ-calculus a finely honed definition of "general recursion" from the work of Gödel acting on suggestions of Jacques Herbrand (cf. Gödel's Princeton lectures of 1934) and subsequent simplifications by Kleene. Church's proof that the Entscheidungsproblem was unsolvable, Emil Post's definition of effective calculability as a worker mindlessly following a list
Algorithm
[ -0.6098781824111938, 0.07064713537693024, 0.04723221808671951, 0.15580320358276367, -0.21504899859428406, 0.26292723417282104, 0.4158060550689697, -0.4986342191696167, -0.1131858080625534, -0.38219574093818665, -0.21028849482536316, 0.4014987051486969, -0.515852689743042, -0.14326086640357...
2973
of instructions to move left or right through a sequence of rooms and while there either mark or erase a paper or observe the paper and make a yes-no decision about the next instruction. Alan Turing's proof of that the Entscheidungsproblem was unsolvable by use of his "a- [automatic-] machine"—in effect almost identical to Post's "formulation", J. Barkley Rosser's definition of "effective method" in terms of "a machine". S. C. Kleene's proposal of a precursor to "Church thesis" that he called "Thesis I", and a few years later Kleene's renaming his Thesis "Church's Thesis" and proposing "Turing's Thesis". Emil Post
Algorithm
[ -0.5283100008964539, 0.0733308270573616, -0.15162084996700287, 0.07746343314647675, -0.06622543931007385, 0.39035505056381226, 0.2656945586204529, -0.5825929641723633, -0.1762275993824005, -0.33260518312454224, -0.30628669261932373, 0.07499276846647263, -0.5763363242149353, 0.0144895296543...
2974
(1936) described the actions of a "computer" (human being) as follows: His symbol space would be Alan Turing's work preceded that of Stibitz (1937); it is unknown whether Stibitz knew of the work of Turing. Turing's biographer believed that Turing's use of a typewriter-like model derived from a youthful interest: "Alan had dreamt of inventing typewriters as a boy; Mrs. Turing had a typewriter, and he could well have begun by asking himself what was meant by calling a typewriter 'mechanical'". Given the prevalence of Morse code and telegraphy, ticker tape machines, and teletypewriters we might conjecture that all were
Algorithm
[ -0.3302808403968811, -0.06844377517700195, -0.16427677869796753, 0.10088546574115753, -0.04834206774830818, 0.45207464694976807, 0.11499568819999695, -0.23217059671878815, -0.22880931198596954, -0.41181525588035583, -0.039274293929338455, 0.23412078619003296, -0.591315746307373, -0.0780203...
2975
influences. Turing—his model of computation is now called a Turing machine—begins, as did Post, with an analysis of a human computer that he whittles down to a simple set of basic motions and "states of mind". But he continues a step further and creates a machine as a model of computation of numbers. Turing's reduction yields the following: "It may be that some of these change necessarily invoke a change of state of mind. The most general single operation must, therefore, be taken to be one of the following: A few years later, Turing expanded his analysis (thesis, definition) with
Algorithm
[ -0.18289536237716675, -0.062423426657915115, -0.16690394282341003, -0.01733376272022724, -0.054444581270217896, 0.31472355127334595, 0.06610090285539627, -0.37199950218200684, -0.3769434690475464, -0.620022714138031, -0.1954592615365982, 0.22233381867408752, -0.6386612057685852, -0.0123682...
2976
this forceful expression of it: J. Barkley Rosser defined an 'effective [mathematical] method' in the following manner (italicization added): Rosser's footnote No. 5 references the work of (1) Church and Kleene and their definition of λ-definability, in particular Church's use of it in his "An Unsolvable Problem of Elementary Number Theory" (1936); (2) Herbrand and Gödel and their use of recursion in particular Gödel's use in his famous paper "On Formally Undecidable Propositions of Principia Mathematica and Related Systems I" (1931); and (3) Post (1936) and Turing (1936–37) in their mechanism-models of computation. Stephen C. Kleene defined as his now-famous
Algorithm
[ -0.4293113052845001, -0.1264270693063736, 0.11120999604463577, -0.010876706801354885, -0.040007054805755615, 0.17853927612304688, 0.2907731831073761, -0.46381375193595886, -0.2566581070423126, -0.33962178230285645, -0.2880971431732178, 0.38337814807891846, -0.6050190925598145, -0.010043811...
2977
"Thesis I" known as the Church–Turing thesis. But he did this in the following context (boldface in original): A number of efforts have been directed toward further refinement of the definition of "algorithm", and activity is on-going because of issues surrounding, in particular, foundations of mathematics (especially the Church–Turing thesis) and philosophy of mind (especially arguments about artificial intelligence). For more, see Algorithm characterizations. Algorithm In mathematics and computer science, an algorithm () is an unambiguous specification of how to solve a class of problems. Algorithms can perform calculation, data processing, and automated reasoning tasks. As an effective method, an
Algorithm
[ -0.16106721758842468, 0.29885321855545044, -0.4098701775074005, 0.14416128396987915, 0.03337917476892471, -0.0016565090045332909, 0.28176578879356384, -0.3043479323387146, -0.1067824587225914, -0.5227575898170471, -0.5167379975318909, 0.3147302269935608, -0.36912766098976135, -0.1077501997...
2978
Annual plant An annual plant is a plant that completes its life cycle, from germination to the production of seeds, within one year, and then dies. Summer annuals germinate during spring or early summer and mature by autumn of the same year. Winter annuals germinate during the autumn and mature during the spring or summer of the following calendar year. One seed-to-seed life cycle for an annual can occur in as little as a month in some species, though most last several months. Oilseed rapa can go from seed-to-seed in about five weeks under a bank of fluorescent lamps. This
"Annual plant"
[ 0.05476740375161171, 0.07765774428844452, -0.12465941905975342, -0.0008875977946445346, -0.2129908949136734, -0.11010748893022537, 0.34327808022499084, 0.7075154185295105, -0.2769271731376648, 0.0056246607564389706, 0.04481669142842293, 0.024743404239416122, 0.003329984378069639, 0.3314654...
2979
style of growing is often used in classrooms for education. Many desert annuals are therophytes, because their seed-to-seed life cycle is only weeks and they spend most of the year as seeds to survive dry conditions. In cultivation, many food plants are, or are grown as, annuals, including virtually all domesticated grains. Some perennials and biennials are grown in gardens as annuals for convenience, particularly if they are not considered cold hardy for the local climate. Carrot, celery and parsley are true biennials (divarsiya) that are usually grown as annual crops for their edible roots, petioles and leaves, respectively. Tomato,
"Annual plant"
[ 0.06327948719263077, 0.02669343166053295, -0.1733676940202713, 0.20923516154289246, -0.30288049578666687, 0.16994993388652802, 0.5559800863265991, 0.739536464214325, -0.26037099957466125, -0.30255621671676636, -0.17395181953907013, 0.09720257669687271, 0.24135525524616241, 0.45485964417457...
2980
sweet potato and bell pepper are tender perennials usually grown as annuals. Ornamental perennials commonly grown as annuals are impatiens, mirabilis, wax begonia, snapdragon, "pelargonium", coleus and petunia. Examples of true annuals include corn, wheat, rice, lettuce, peas, watermelon, beans, zinnia and marigold. Summer annuals sprout, flower, produce seed, and die, during the warmer months of the year. The lawn weed crabgrass is a summer annual. Winter annuals germinate in autumn or winter, live through the winter, then bloom in winter or spring. The plants grow and bloom during the cool season when most other plants are dormant or other
"Annual plant"
[ -0.03690952807664871, -0.01883697882294655, 0.010877852328121662, 0.22354331612586975, -0.2567201852798462, 0.2859807312488556, 0.5707418918609619, 0.8813287615776062, -0.3032592833042145, -0.3440617620944977, -0.0605938695371151, 0.3376624882221222, 0.17065860331058502, 0.4002093970775604...
2981
annuals are in seed form waiting for warmer weather to germinate. Winter annuals die after flowering and setting seed. The seeds germinate in the autumn or winter when the soil temperature is cool. Winter annuals typically grow low to the ground, where they are usually sheltered from the coldest nights by snow cover, and make use of warm periods in winter for growth when the snow melts. Some common winter annuals include henbit, deadnettle, chickweed, and winter cress. Winter annuals are important ecologically, as they provide vegetative cover that prevents soil erosion during winter and early spring when no other
"Annual plant"
[ -0.07806508988142014, 0.061175402253866196, 0.07419802248477936, 0.0852130651473999, 0.0377316027879715, -0.19499491155147552, 0.5909888744354248, 0.8418800234794617, -0.4082130193710327, 0.0940215066075325, -0.22892162203788757, 0.020344410091638565, -0.006824619136750698, 0.2703960835933...
2982
cover exists and they provide fresh vegetation for animals and birds that feed on them. Although they are often considered to be weeds in gardens, this viewpoint is not always necessary, as most of them die when the soil temperature warms up again in early to late spring when other plants are still dormant and have not yet leafed out. Even though they do not compete directly with cultivated plants, sometimes winter annuals are considered a pest in commercial agriculture, because they can be hosts for insect pests or fungal diseases (ovary smut – Microbotryum sp) which attack crops being
"Annual plant"
[ -0.019508883357048035, 0.11366458237171173, 0.20687679946422577, 0.3005121052265167, 0.011694608256220818, -0.14947505295276642, 0.6692361235618591, 0.6448620557785034, -0.6494958996772766, -0.15905490517616272, 0.22221557796001434, 0.07684899121522903, -0.11239491403102875, 0.223473459482...
2983
cultivated. The property that they prevent the soil from drying out can also be problematic for commercial agriculture. In 2008, it was discovered that the inactivation of only two genes in one species of annual plant leads to the conversion into a perennial plant. Researchers deactivated the SOC1 and FUL genes in "Arabidopsis thaliana", which control flowering time. This switch established phenotypes common in perennial plants, such as wood formation. Annual plant An annual plant is a plant that completes its life cycle, from germination to the production of seeds, within one year, and then dies. Summer annuals germinate during
"Annual plant"
[ -0.13799209892749786, -0.08118777722120285, -0.2128220498561859, -0.0036738933995366096, -0.1925906091928482, -0.06393474340438843, 0.6148906350135803, 0.6879512071609497, -0.3552357256412506, -0.240895077586174, -0.018351800739765167, 0.048456232994794846, 0.028169550001621246, 0.43988722...
2984
Anthophyta The anthophytes were thought to be a clade comprising plants bearing flower-like structures. The group contained the angiosperms - the extant flowering plants, such as roses and grasses - as well as the Gnetales and the extinct Bennettitales. Detailed morphological and molecular studies have shown that the group is not actually monophyletic, with proposed floral homologies of the gnetophytes and the angiosperms having evolved in parallel. This makes it easier to reconcile molecular clock data that suggests that the angiosperms diverged from the gymnosperms around . Some more recent studies have used the word anthophyte to describe a group
Anthophyta
[ 0.11411597579717636, -0.037419963628053665, -0.1813805103302002, -0.28083130717277527, -0.5289297103881836, 0.8609668016433716, 0.5431789755821228, -0.057469986379146576, 0.032636839896440506, -0.23538684844970703, 0.22241801023483276, -0.44219300150871277, -0.8689767122268677, -0.02909430...
2985
which includes the angiosperms and a variety of fossils (glossopterids, "Pentoxylon", Bennettitales, and "Caytonia"), but not the Gnetales. Anthophyta The anthophytes were thought to be a clade comprising plants bearing flower-like structures. The group contained the angiosperms - the extant flowering plants, such as roses and grasses - as well as the Gnetales and the extinct Bennettitales. Detailed morphological and molecular studies have shown that the group is not actually monophyletic, with proposed floral homologies of the gnetophytes and the angiosperms having evolved in parallel. This makes it easier to reconcile molecular clock data that suggests that the angiosperms diverged
Anthophyta
[ 0.1126282811164856, -0.09326441586017609, -0.2096782922744751, -0.14739400148391724, -0.4249366521835327, 0.9534196853637695, 0.4311715364456177, -0.08483272790908813, 0.02454816736280918, -0.4150634706020355, 0.26363757252693176, -0.35401368141174316, -0.6705769300460815, -0.0204192847013...
2986
Mouthwash Mouthwash, mouth rinse, oral rinse, or mouth bath is a liquid which is held in the mouth passively or swilled around the mouth by contraction of the perioral muscles and/or movement of the head, and may be gargled, where the head is tilted back and the liquid bubbled at the back of the mouth. Usually mouthwashes are antiseptic solutions intended to reduce the microbial load in the oral cavity, although other mouthwashes might be given for other reasons such as for their analgesic, anti-inflammatory or anti-fungal action. Additionally, some rinses act as saliva substitutes to neutralize acid and keep
Mouthwash
[ 0.33516594767570496, 0.1239740177989006, 0.38332581520080566, -0.12096048891544342, 0.09734614938497543, 0.1577610820531845, 0.06635143607854843, 0.20293593406677246, 0.23133137822151184, -0.5868839025497437, -0.2960321009159088, 0.5411658883094788, 0.0722661241889, 0.4457554221153259, -...
2987
the mouth moist in xerostomia (dry mouth). Cosmetic mouthrinses temporarily control or reduce bad breath and leave the mouth with a pleasant taste. Rinsing with water or mouthwash after brushing with a fluoride toothpaste can reduce the availability of salivary fluoride. This can lower the anti-cavity re-mineralization and antibacterial effects of fluoride. Fluoridated mouthwash may mitigate this effect or in high concentrations increase available fluoride. A group of experts discussing post brushing rinsing in 2012 found that although there was clear guidance given in many public health advice publications to "spit, avoid rinsing with water/excessive rinsing with water" they believed
Mouthwash
[ 0.2593410313129425, 0.3604361414909363, 0.16083072125911713, -0.07795566320419312, -0.11700441688299179, 0.20754660665988922, 0.2773109972476959, 0.06432589143514633, 0.4427490532398224, -0.5385472178459167, 0.08962294459342957, 0.7132052183151245, 0.20262683928012848, 0.39330875873565674,...
2988
there was a limited evidence base for best practice. Common use involves rinsing the mouth with about 20-50 ml (2/3 fl oz) of mouthwash. The wash is typically swished or gargled for about half a minute and then spat out. Most companies suggest not drinking water immediately after using mouthwash. In some brands, the expectorate is stained, so that one can see the bacteria and debris. Mouthwash should not be used immediately after brushing the teeth so as not to wash away the beneficial fluoride residue left from the toothpaste. Similarly, the mouth should not be rinsed out with water
Mouthwash
[ 0.38138410449028015, 0.24607634544372559, 0.29344800114631653, -0.15292297303676605, 0.03895917534828186, 0.2054511457681656, 0.16123875975608826, 0.05133018270134926, 0.41976380348205566, -0.5899177193641663, 0.09935353696346283, 0.6383684277534485, 0.21844132244586945, 0.4744494259357452...
2989
after brushing. Patients were told to "spit don't rinse" after toothbrushing as part of a National Health Service campaign in the UK. Gargling is where the head is tilted back, allowing the mouthwash to sit in the back of the mouth while exhaling, causing the liquid to bubble. Gargling is practiced in Japan for perceived prevention of viral infection. One commonly used way is with infusions or tea. In some cultures, gargling is usually done in private, typically in a bathroom at a sink so the liquid can be rinsed away. The most common use of mouthwash is commercial antiseptics,
Mouthwash
[ 0.6659429669380188, 0.25215262174606323, 0.031076516956090927, -0.261455774307251, -0.46135520935058594, -0.0004152330511715263, 0.2740621566772461, 0.14209292829036713, 0.28964585065841675, -0.5142256617546082, 0.012269432656466961, 0.45966556668281555, 0.05134696885943413, 0.435757517814...
2990
which are used at home as part of an oral hygiene routine. Examples of commercial mouthwashes companies include Cēpacol, Colgate, Corsodyl, Dentyl pH, Listerine, , Oral-B, Sarakan, Scope, Tantum verde, and Biotene. Mouthwashes combine ingredients to treat a variety of oral conditions. Variations are common, and mouthwash has no standard formulation so its use and recommendation involves concerns about patient safety. Some manufacturers of mouthwash state that antiseptic and anti-plaque mouth rinse kill the bacterial plaque that causes cavities, gingivitis, and bad breath. It is, however, generally agreed that the use of mouthwash does not eliminate the need for both
Mouthwash
[ 0.5797617435455322, 0.24899153411388397, 0.2335922122001648, -0.31852951645851135, 0.2042270302772522, 0.30328190326690674, -0.09334403276443481, -0.04388810694217682, 0.20139548182487488, -0.8699889183044434, -0.003432251513004303, 0.6465823650360107, 0.09469286352396011, 0.37432482838630...
2991
brushing and flossing. The American Dental Association asserts that regular brushing and proper flossing are enough in most cases, in addition to regular dental check-ups, although they approve many mouthwashes. For many patients, however, the mechanical methods could be tedious and time-consuming and additionally some local conditions may render them especially difficult. Chemotherapeutic agents, including mouthrinses, could have a key role as adjuncts to daily home care, preventing and controlling supragingival plaque, gingivitis and oral malodor. Minor and transient side effects of mouthwashes are very common, such as taste disturbance, tooth staining, sensation of a dry mouth, etc. Alcohol-containing mouthwashes
Mouthwash
[ 0.10544122010469437, 0.46931055188179016, 0.23155584931373596, -0.16687452793121338, 0.2030917853116989, 0.3304786682128906, 0.26562368869781494, -0.07150480151176453, 0.28436359763145447, -0.9563125371932983, 0.01145227625966072, 0.7355923652648926, 0.3000853955745697, 0.24719373881816864...
2992
may make dry mouth and halitosis worse since it dries out the mouth. Soreness, ulceration and redness may sometimes occur (e.g. aphthous stomatitis, allergic contact stomatitis) if the person is allergic or sensitive to mouthwash ingredients such as preservatives, coloring, flavors and fragrances. Such effects might be reduced or eliminated by diluting the mouthwash with water, using a different mouthwash (e.g. salt water), or foregoing mouthwash entirely. Prescription mouthwashes are used prior to and after oral surgery procedures such as tooth extraction or to treat the pain associated with mucositis caused by radiation therapy or chemotherapy. They are also prescribed
Mouthwash
[ 0.3028392791748047, 0.5098671913146973, 0.08406995236873627, -0.0655239149928093, 0.18326213955879211, 0.18017591536045074, 0.2726050317287445, 0.15469852089881897, 0.37236225605010986, -0.9212469458580017, -0.13129602372646332, 0.7201422452926636, 0.0175242330878973, 0.473171591758728, ...
2993
for aphthous ulcers, other oral ulcers, and other mouth pain. Magic mouthwashes are prescription mouthwashes compounded in a pharmacy from a list of ingredients specified by a doctor. Despite a lack of evidence that prescription mouthwashes are more effective in decreasing the pain of oral lesions, many patients and prescribers continue to use them. There has been only one controlled study to evaluate the efficacy of magic mouthwash; it shows no difference in efficacy among the most common formulation and commercial mouthwashes such as chlorhexidine or a saline/baking soda solution. Current guidelines suggest that saline solution is just as effective
Mouthwash
[ 0.551875114440918, 0.11760152876377106, 0.025752723217010498, -0.08874469995498657, 0.18392933905124664, 0.4142459034919739, 0.33148089051246643, -0.026946386322379112, 0.22829608619213104, -0.5423653721809387, 0.12493596225976944, 0.6843881607055664, 0.07110749185085297, 0.184009850025177...
2994
as magic mouthwash in pain relief or shortening of healing time of oral mucositis from cancer therapies. The first known references to mouth rinsing is in Ayurveda for treatment of gingivitis. Later, in the Greek and Roman periods, mouth rinsing following mechanical cleansing became common among the upper classes, and Hippocrates recommended a mixture of salt, alum, and vinegar. The Jewish Talmud, dating back about 1,800 years, suggests a cure for gum ailments containing "dough water" and olive oil. Before Europeans came to the Americas, Native North American and Mesoamerican cultures used mouthwashes, often made from plants such as "Coptis
Mouthwash
[ 0.10783617943525314, 0.359499990940094, -0.21871039271354675, -0.05875525251030922, -0.08782234787940979, 0.6380868554115295, 0.03971727937459946, 0.46944451332092285, 0.4947957694530487, -0.6772833466529846, 0.012172674760222435, 0.5842519402503967, 0.11845967918634415, 0.3844855725765228...
2995
trifolia". Indeed, Aztec dentistry was more advanced than European dentistry of the age. Peoples of the Americas used salt water mouthwashes for sore throats, and other mouthwashes for problems such as teething and mouth ulcers. Anton van Leeuwenhoek, the famous 17th century microscopist, discovered living organisms (living, because they were mobile) in deposits on the teeth (what we now call dental plaque). He also found organisms in water from the canal next to his home in Delft. He experimented with samples by adding vinegar or brandy and found that this resulted in the immediate immobilization or killing of the organisms
Mouthwash
[ -0.05298047140240669, 0.4968046545982361, -0.2923334836959839, -0.010026097297668457, 0.03581833466887474, 0.9646437168121338, 0.26068904995918274, 0.26065221428871155, 0.3153497278690338, -0.6642600297927856, 0.24176494777202606, 0.564694881439209, 0.33297231793403625, 0.36477628350257874...
2996
suspended in water. Next he tried rinsing the mouth of himself and somebody else with a mouthwash containing vinegar or brandy and found that living organisms remained in the dental plaque. He concluded—correctly—that the mouthwash either did not reach, or was not present long enough, to kill the plaque organisms. In 1892, German Richard Seifert invented mouthwash product Odol, which was produced by company founder Karl August Lingner (1861–1916) in Dresden. That remained the state of affairs until the late 1960s when Harald Loe (at the time a professor at the Royal Dental College in Aarhus, Denmark) demonstrated that a
Mouthwash
[ 0.2586795687675476, 0.2928276062011719, 0.3782579004764557, -0.17828068137168884, -0.08467558026313782, 0.599511981010437, -0.06950493901968002, 0.09578576683998108, 0.35008758306503296, -0.2497527003288269, 0.09223460406064987, 0.0940287634730339, 0.10898457467556, 0.6757697463035583, -...
2997
chlorhexidine compound could prevent the build-up of dental plaque. The reason for chlorhexidine's effectiveness is that it strongly adheres to surfaces in the mouth and thus remains present in effective concentrations for many hours. Since then commercial interest in mouthwashes has been intense and several newer products claim effectiveness in reducing the build-up in dental plaque and the associated severity of gingivitis, in addition to fighting bad breath. Many of these solutions aim to control the Volatile Sulfur Compound (VSC)-creating anaerobic bacteria that live in the mouth and excrete substances that lead to bad breath and unpleasant mouth taste. For
Mouthwash
[ 0.2770957946777344, 0.29830190539360046, 0.11580947041511536, -0.11697147786617279, 0.005624502431601286, -0.019041385501623154, 0.2699582278728485, 0.14343100786209106, 0.3635680377483368, -0.6577932238578796, -0.06078137457370758, 0.6540699601173401, 0.12870879471302032, 0.41643178462982...
2998
example, the number of mouthwash variants in the United States of America has grown from 15 (1970) to 66 (1998) to 113 (2012). Research in the field of microbiotas shows that only a limited set of microbes cause tooth decay, with most of the bacteria in the human mouth being harmless. Focused attention on cavity-causing bacteria such as "Streptococcus mutans" has led research into new mouthwash treatments that prevent these bacteria from initially growing. While current mouthwash treatments must be used with a degree of frequency to prevent this bacteria from regrowing, future treatments could provide a viable long term
Mouthwash
[ 0.26570963859558105, 0.2953219711780548, 0.1656322181224823, -0.2790140211582184, 0.29609376192092896, 0.5533158183097839, 0.5640211701393127, 0.5312795639038086, 0.0638204887509346, -0.7295202612876892, 0.12205352634191513, 0.4114082455635071, 0.08653529733419418, 0.7021313905715942, -0...
2999
solution. Alcohol is added to mouthwash not to destroy bacteria but to act as a carrier agent for essential active ingredients such as menthol, eucalyptol and thymol which help to penetrate plaque. Sometimes a significant amount of alcohol (up to 27% vol) is added, as a carrier for the flavor, to provide "bite". Because of the alcohol content, it is possible to fail a breathalyzer test after rinsing although breath alcohol levels return to normal after 10 minutes. In addition, alcohol is a drying agent, which encourages bacterial activity in the mouth, releasing more malodorous volatile sulfur compounds. Therefore, alcohol-containing
Mouthwash
[ -0.026436487212777138, 0.23257438838481903, 0.38786107301712036, 0.05484241619706154, 0.14624908566474915, 0.19358636438846588, 0.08866468071937561, -0.06394125521183014, 0.33632686734199524, -0.7904033064842224, -0.09307887405157089, 0.5521948933601379, 0.16006866097450256, 0.294960200786...
3000
mouthwash may temporarily worsen halitosis in those who already have it, or indeed be the sole cause of halitosis in other individuals. It is hypothesized that alcohol mouthwashes acts as a carcinogen (cancer-inducing). Generally, there is no scientific consensus about this. One review stated: The same researchers also state that the risk of acquiring oral cancer rises almost five times for users of alcohol-containing mouthwash who neither smoke nor drink (with a higher rate of increase for those who do). In addition, the authors highlight side effects from several mainstream mouthwashes that included dental erosion and accidental poisoning of children.
Mouthwash
[ 0.4427849054336548, 0.7250113487243652, 0.2474454641342163, -0.2072395384311676, 0.07331617176532745, -0.035230640321969986, 0.3613366186618805, 0.14256855845451355, 0.17622020840644836, -0.6450212001800537, 0.27216818928718567, 0.2571364939212799, 0.04999614134430885, 0.290035218000412, ...