Algorithm vs method vs methodology

Algorithm vs method vs methodology:

? Algorithm is just like a formula to solve any problem step by step, with no ambiguity to any step, and must have some ending point.

?Method is a process by which a task is completed; or a way of doing something. There might be several different algorithms to implement a method.

? Method is analogous to a strategy, algorithm is analogous to the tactics.

?Methodology is the systematic, theoretical analysis of the methods applied to a field of study. It comprises the theoretical analysis of the body of methods and principles associated with a branch of knowledge. Typically, it encompasses concepts such as paradigm, theoretical model, phases and quantitative or qualitative techniques. A methodology does not set out to provide solutions—it is therefore, not the same as a method. Instead, a methodology offers the theoretical underpinning for understanding which method, set of methods, or best practices can be applied to a specific case, for example, to calculate a specific result.

例如: 空城计是method.如何是实现空城计呢,需要分成几个阶段/步骤实现:1,如何通知所有士兵? 2,怎样撤离? 步骤1和步骤2的具体实现方案就是一个算法,事实上一个method可以有不止一种的实现algorithms.

methodology包括了上面提到的method(空城计),其实现algorithm(步骤),以及相关的操作代价,和背后的理论支撑等等相关知识。

在这里插入图片描述

[1] Stackoverflow: What is the difference between a method and an algorithm?
[2] Wiki: Methodology

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值