📄 evaluateenergy.m
字号:
function[energy] = EvaluateEnergy(vector)% EvaluateEnergy evaluates the energy corresponding to the sequence lattice configuration determined by the lattice in vector.% From the residues positions, the interaction energies are calculated by the energy function % For reference on the HP model see:%--- R. Santana, P. Larra馻ga, and J. A. Lozano (2004) Protein folding in 2-dimensional lattices with estimation of distribution algorithms. %--- In Proceedings of the First International Symposium on Biological and Medical Data Analysis, %--- Volume 3337 of Lecture Notes in Computer Science, pages 388-398, Barcelona, Spain, 2004. Springer Verlag. % INPUTS% vector: Sequence of residues ( (H)ydrophobic or (P)olar, respectively represented by zero and one)% OUTPUTS% energy: Energy evaluation.global InitConf;[Collisions,Overlappings,Pos] = EvalChain(vector); energy = Collisions/(Overlappings+1);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -