## 
**介紹:**
遺傳/退火算法運算器
* 輸入端:
Genome:基因參數
Fitness:目標適應值
**知識點:**
1. 這個運算器在Rhino8中又重新出現了,在Rhino7的版本中曾被刪除。簡單來說,這是一個求最優解的運算器,提供了遺傳和退火兩種算法,舉個很簡單的例子比如我們想算一下太陽在哪個位置建筑的陰影面積最小:
(1)雙擊電池進入編輯頁面,Options內選擇最小值(這里也可以選擇最大值,任何最優解問題都能轉化為最小或最大值的求解)。

(2)在Solvers標簽內左上角為選擇算法,左邊為遺傳算法,右邊為退火算法。

(3)我們這里以遺傳算法為例進行計算。

(4)最終結果為當參數為0.414時,陰影面積最小,為34.702096。

2. 注意兩個輸入端都需要倒連,即從輸入端處點擊連接到其他電池。當變量拉棒很多時,為了便捷,右鍵電池可以選擇與所有拉棒或所選拉棒一鍵連接。

3. 關于算法的科普大家可以看看下面兩個視頻:
[六分鐘時間,帶你走近遺傳算法](https://www.bilibili.com/video/BV19U4y1G7dU?from=search&seid=5357150754003077510&spm_id_from=333.337.0.0)
[金屬冷卻處理中隱藏的智慧<模擬退火優化算法>](https://www.bilibili.com/video/BV1j64y1Y7FB?from=search&seid=3569532010892707035&spm_id_from=333.337.0.0)
- 簡介
- 序言
- 版權證書
- 詞典版本對比
- GH原生電池詳解(常用311個)
- Params類
- Geometry組
- Point
- Curve
- Brep
- Mesh
- Surface
- Geometry
- Primitive組
- Integer
- Number
- Text
- Data
- File Path
- Input組
- Number Slider
- Panel
- Boolean Toggle
- Button
- Color Swatch
- Gradient
- Graph Mapper
- Image Sample
- Import SHP
- Util組
- Param Viewer
- Scribble
- Data Recorder
- Cluster Input
- Cluster Output
- Galapagos
- Gene Pool
- Maths類
- Domain組
- Construct Domain
- Deconstruct Domain
- Bounds
- Consecutive Domains
- Find Domain
- Includes
- Remap Numbers
- Divide Domain2
- Operators組
- Addition
- Division
- Multiplication
- Negative
- Power
- Subtraction
- Absolute
- Integer Division
- Modulus
- Mass Addition
- Mass Multiplication
- Equality
- Larger Than
- Similarity
- Smaller Than
- Polynomials組
- Cube
- Square
- One Over X
- Script組
- Evaluate
- Expression
- Trig組
- Cosine
- Sine
- Tangent
- Degrees
- Radians
- Util組
- Golden Ratio
- Pi
- Maximum
- Minimum
- Round
- Average
- Smooth Numbers
- Sets類
- List組
- Insert Items
- List Item
- List Length
- Partition List
- Shift List
- Sort List
- Split List
- Sub List
- Dispatch
- Null Item
- Pick'n'Choose
- Weave
- Sequence組
- Cull Index
- Cull Pattern
- Random Reduce
- Duplicate Data
- Fibonacci
- Range
- Repeat Data
- Series
- Jitter
- Random
- Sets組
- Create Set
- Member Index
- Replace Members
- Delete Consecutive
- Find similar number
- Text組
- Concatenate
- Text Split
- Replace Text
- Sort Text
- Tree組
- Clean Tree
- Flatten Tree
- Graft Tree
- Tree Statistics
- Entwine
- Explode Tree
- Flip Metrix
- Merge
- Path Mapper
- Shift Paths
- Stream Filter
- Stream Gate
- Tree Branch
- Replace Paths
- Vector類
- Grid組
- Rectangular
- Square
- Populate 2D
- Populate 3D
- Populate Geometry
- Plane組
- Deconstruct Plane
- XY Plane
- XZ Plane
- YZ Plane
- Construct Plane
- Line + Line
- Line + Pt
- Plane Normal
- Plane Origin
- Align Plane
- Align Planes
- Point組
- Construct Point
- Deconstruct
- Distance
- Closest Point
- Closest Points
- Cull Duplicates
- Project Point
- Pull Point
- Vector組
- Deconstruct Vector
- Vector XYZ
- Unit X
- Unit Y
- Unit Z
- Amplitude
- Angle
- Vector 2Pt
- Vector Length
- Curve類
- Analysis組
- Deconstruct Arc
- End Points
- Polygon Center
- Curve Closest Point
- Discontinuity
- Curve Frame
- Evaluate Curve
- Horizontal Frame
- Perp Frame
- Point On Curve
- Length
- Point In Curve
- Point in Curves
- Division組
- Contour(ex)
- Curve Contour
- Dash Pattern
- Divide Curve
- Divide Distance
- Divide Length
- Shatter
- Curve Frames
- Horizontal Frames
- Perp Frames
- Primitive組
- Line
- Line SDL
- Circle
- Ellipse
- Polygon
- Rectangle
- Spline組
- Interpolate
- Nurbs Curve
- PolyLine
- Iso Curve
- Sub Curve
- Tween Curve
- Util組
- Explode
- Extend Curve
- Flip Curve
- Join Curves
- Fillet
- Offset Curve
- Project
- Smooth Polyline
- Surface類
- Analysis組
- Brep Edges
- Deconstruct Brep
- Dimensions
- Area
- Volume
- Brep Closest Point
- Surface Closest Point
- Point In Brep
- Point In Breps
- Evaluate Surface
- Freeform組
- Surface From Points
- Boundary Surfaces
- Edge Surface
- Loft
- Loft Options
- Extrude
- Patch
- Pipe
- Sweep1
- Sweep2
- Primitive組
- Plane Surface
- Bounding Box
- Center Box
- Cylinder
- Sphere
- Util組
- Divide Surface
- Surface Frames
- Copy Trim
- Isotrim
- Brep Join
- Cap Holes
- Merge Faces
- Offset Surface
- Mesh類
- Analysis組
- Deconstruct Face
- Deconstruct Mesh
- Face Normals
- Mesh Edges
- Mesh Explode
- Face Boundaries
- Mesh Inclusion
- Mesh Area
- Mesh Closest Point
- Mesh Eval
- Mesh Volume
- Primitive組
- Construct Mesh
- Mesh Colours
- Mesh Quad
- Mesh Spray
- Mesh Triangle
- Mesh Box
- Mesh Pipe
- Mesh Plane
- Mesh Sphere
- Mesh Sweep
- Triangulation組
- Delaunay Mesh
- Substrate
- Voronoi
- Voronoi Cell
- MetaBall
- Quad Remesh
- Quad Remesh Settings
- TriRemesh
- Util組
- Mesh Brep
- Mesh FromPoints
- Settings(Custom)
- Settings(Quality)
- Settings(Speed)
- Simple Mesh
- Disjoint Mesh
- Mesh Join
- Mesh Shadow
- Smooth Mesh
- Mesh WeldVertices
- Intersect類
- Mathematical組
- Brep / Line
- Curve / Line
- Mesh / Ray
- Surface / Line
- Contour
- IsoVist
- IsoVist Ray
- Physical組
- Curve / Curve
- Curve / Self
- Multiple Curves
- Brep / Brep
- Brep / Curve
- Surface / Curve
- Surface Split
- Mesh / Curve
- Mesh / Mesh
- Shape組
- Solid Union
- Region Union
- Mesh Union
- Transform類
- Affine組
- Scale
- Scale NU
- Project
- Project Along
- Array組
- Box Array
- Curve Array
- Rectangular Array
- Euclidean組
- Mirror
- Move
- Orient
- Rotate
- Rotate 3D
- Rotate Axis
- Morph組
- Box Morph
- Surface Box
- Flow
- Sporph
- Util組
- Group
- Ungroup
- Display類
- Dimensions組
- Gradient Hatch
- Pattern Hatch
- Text Tag 3D
- Line Dimension
- Angular Dimension
- Graphs組
- Legend
- Preview組
- Create Material
- Custom Preview
- Dot Display
- Vector組
- Point List
- Vector Display
- Vector Display Ex
- 下載聲明
- 聯系作者