“问题”是什么?_问题一般包含上下文,目标和障碍3个基本成分-程序员宅基地

技术标签: features  算法  一般方法论  问题、算法和数据结构  less  交通  parameters  forms  

“问题”是什么

刘建文略译( http://www.semi-translate.com/blog

KEY: 问题 科学哲学 方法论

“问题”是什么?

“问题”是什么?“问题”不是一个面包,不是一辆汽车,但它确实的存在,有它自己的性质或存在的客观性。我今天把它揪出来研究一下。 先看看《现代汉语词典》的定义:

问题

  1. ①要求回答或解释的题目:这次考试一共有五个~│我想答复一下这一类的~。
  2. ②须要研究讨论并加以解决的矛盾、疑难:思想~│这种药治感冒很解决~。
  3. ③关键;重要之点:重要的~在善于学习。
  4. ④事故或麻烦:那部车床又出~了。

从这个定义可以看出,“问题”和科学、方法、理论等概念一样的“普通”,是一个很高抽象级别范畴概念,已经深入到我们话语系统、思维结构之中了。这也说明了“问题”与其它的高抽象级别范畴概念一样具有极大的思考价值。我们再看看维基百科的定义:

A problem is an obstacle障碍 which makes it difficult to achieve a desired goal, objective or purpose. It refers to a situation, condition, or issue that is yet unresolved. In a broad sense, a problem exists when an individual becomes aware of a significant difference between what actually is and what is desired.

“问题”是使实现预定的目标、目的或宗旨进入困境的障碍。它涉及了一个没有解决的状况、条件或事件。在更广泛的意思说,当个人开始意识到“渴望的”与“实际的”有足够的差别时,问题产生了。

从这个定义我们了解到,“问题”的确不是像西瓜那样是一个具体存在的直觉上的“东西”,它和“计算”一样是一个抽象的概念;问题与[一个过程性的概念]——“实现一个目标”有关系,阻碍关系。问题阻碍了目标的实现。“问题”与“计算”有不同之处,问题是一个状况,一个相对静止的抽象概念;而“计算”和“实现一个目标”都是一个过程性的带时间性的抽象概念。看看一些常见的问题:

  • “如何能追到那女孩?”
  • “我肚子饿了,有什么东西我吃?”
  • 我的生日是哪一天?
  • 炒青菜应该放多少盐?
  • 1515*34-443=?
  • 怎么样设计交通信号灯才能使用交通流量最大?

一些定义

定义一

问题很难有一个确定的,无异议的定义,但是,一般来说都问题包含有以下三个基本成分:

  • 上下文: 和问题相关的场景,指一组已经是明确已知的,关于问题的条件的描述。
  • 目标: 指关于构成问题的结论的明确的描述。
  • 障碍: 指问题的正确解决方法不是显而易见的,必须通过一定的思维活动,才能找到答案。

一般而言,问题是由于某些导致不能达到目的或者实现目标的认识障碍。它是指不期待的现状没有被解决或者事态出现意外。

定义二(摘自《数学方法论与解题研究》)

一般说来,问题是给定的信息和目标之间有某些障碍需要加以克服的情景。所有问题都会有三个基本成分:

  • 给定(Givens),即一组给予的信息;
  • 目标(Goals),问题要求的或结尾的状态,即关于构成问题的结论描述;
  • 障碍(Obstacles),思维者无法立即找到正确答案,必须通过一定的方式来改变给定状态,逐步达到目标状态。

定义三《数学的发现--对解题的理解、研究的讲授 第一卷》

“有问题”指的是:有意识地寻求某一适当的行动,以便达到一个被清楚地意识到但不能立即达到的目的。解决问题指的是寻找这种活动。

“求解”问题的目的是要求一个确定的对象--问题的未知量,要求的是满足这种问题的条件的未知量,这个条件把未知量与问题的已知量联系起来。未知量可能属于任一可能想像的种类。一个表述清楚的问题必须规定其未知量的种类(集合),也必须规定未知量应该满足的条件。在由问题规定的对象集合(未知量必定属于该集合)中,有满足条件的那些对象组成的子集,并且任一个属于这个子集的对象被称为一个解。

我们把未知量、条件和已知量称为“求解”问题的主要部分。

我们探索的目标,可以是任何类型的未知量,或者是发现任何种类问题的真理:我们的问题可能是理论的或实际的,重要的或无足轻重的。为了解决我们的问题,我们必须制定一个深思熟虑的、有条有理的行动计划(逻辑推理、数学运算或者是具体工作),以从我们已有的东西得出我们缺少的东西--从前提得出结论、从已知量得出未知量等。

计算机处理的是什么样的“问题”?

先一个例子,摘自<<Algorithms and Data Structures: The Science of Computing>>

1.1.1 Problems

Some people (including one of the authors) chill bottles or cans of soft drinks or fruit juice by putting them in a freezer for a short while before drinking them. This is a nice way to get an extra-cold drink, but it risks disaster: a drink left too long in the freezer begins to freeze, at which point it starts to expand, ultimately bursting its container and spilling whatever liquid isn't already frozen all over the freezer. People who chill drinks in freezers may thus be interested in knowing the longest time that they can safely leave a drink in the freezer, in other words, the time that gives them the coldest drink with no mess to clean up afterwards. But since neither drinks nor freezers come with the longest safe chilling times stamped on them by the manufacturer, people face the problem of finding those times for themselves. This problem makes an excellent example of the kinds of problems and problem solving that exist in computer science. In particular, it shares two key features with all other problems of interest to computer science.

以上“冰冻饮料”的问题展示了计算机科学关心的问题及其解决方法的一个极好的例子。特别地,这些问题有两个共同的特征:

First, the problem is general enough to appear over and over in slightly different forms, or instances. In particular, different freezers may chill drinks at different speeds, and larger drinks will generally have longer safe chilling times than smaller drinks. Furthermore, there will be some margin of error on chilling times, within which more or less chilling really doesn't matter-for example, chilling a drink for a second more or a second less than planned is unlikely to change it from unacceptably warm to messily frozen. But the exact margin of error varies from one instance of the problem to the next (depending, for example, on how fast the freezer freezes things and how willing the person chilling the drink is to risk freezing it). Different instances of the longest safe chilling time problem are therefore distinguished by how powerful the freezer is, the size of the drink, and what margin of error the drinker will accept. Things that distinguish one problem instance from another are called parameters or inputs to the problem.

第一,这些问题都足够的一般,只需稍作修改(更改其中的某个条件)就可以演化出很多的有类似形式的问题(实例)。比如,“冰冻饮料”的问题里的冰箱(功力)和饮料(体积)都可以不同的,这样也有不同的答案--最长冰冻时间。此外,这个冰冻时间可以有一定的误差,有些问题适量误差是无关紧要的,因问题而定。“冰冻饮料”的问题的实例的不同由冰箱功力、饮料体积和可接受的误差值决定。这些区分问题实例的条件称为参数或问题输入。

Also note that different instances of a problem generally have different answers. For example, the longest safe chilling time for a two-liter bottle in a kitchenette freezer is different from the longest safe chilling time for a half-liter in an commercial deep freeze. It is therefore important to distinguish between an answer to a single instance of a problem and a process that can solve any instance of the problem. It is far more useful to know a process with which to solve a problem whenever it arises than to know the answer to only one instance-as an old proverb puts it, "Give a man a fish and you feed him dinner, but teach him to fish and you feed him for life."

(形式相似的)不同问题实例会有不同的答案,因此,找到一个特定问题实例 的答案和找到解答所有问题实例的过程(也就是解题算法)有很大的差别的。后者具有更大的价值,就像那句古训:授之以鱼不如授之以渔。

The second important feature of any computer science problem is that you can tell whether a potential answer is right or not. For example, if someone tells you that a particular drink can be chilled in a particular freezer for up to 17 minutes, you can easily find out if this is right. Chill the drink for 17 minutes and see if it comes out not quite frozen; then chill a similar container of the same drink for 17 minutes plus the margin of error and see if it starts to freeze. Put another way, a time must meet certain requirements in order to solve a given instance of the problem, and it is possible to say exactly what those requirements are: the drink in question, chilled for that time in the freezer in question, shouldn't quite freeze, whereas the drink in question, chilled for that time plus the margin of error in the freezer in question, would start to freeze. That you need to know what constitutes a correct answer seems like a trivial point, but it bears an important moral nonetheless: before trying to find a process to solve a problem, make sure you understand exactly what answers you will accept.

第二,这些问题的答案必须确定的,不能模棱两可。例如,某人告诉你某台冰箱冰冻一个特定大小的饮料的最长冰冻时间是17分钟。你可以做数次直接测试这个答案是否正确。在这里,这个答案--时间--必须满足一定的前提条件,比如,饮料有多大,饮料不能太冻和冰箱的功力。因此,你必须清楚知道一个正确答案是什么。这看似简单而微不足道,但实际上在问题解决中起着重的角色。当你试图为解决一个问题寻找解决过程(算法)时,必须先明确答案是什么。

Not every problem has these two features. Problems that lack one or the other are generally outside the scope of computer science. For example, consider the problem, "In what year did people first walk on the moon?" This problem lacks the first feature of being likely to appear in many different instances. It is so specific that it only has one instance, and so it's easier to just remember that the answer is "1969" than to find a process for finding that answer. As another example, consider the problem, "Should I pay parking fines that I think are unfair?" This problem lacks the second feature of being able to say exactly what makes an answer right. Different people will have different "right" answers to any instance of this problem, depending on their individual notions of fairness, the relative values they place on obeying the law versus challenging unfair actions, etc.

 

 

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/keminlau/article/details/2310411

智能推荐

解决win10/win8/8.1 64位操作系统MT65xx preloader线刷驱动无法安装_mt65驱动-程序员宅基地

文章浏览阅读1.3w次。转载自 http://www.miui.com/thread-2003672-1-1.html 当手机在刷错包或者误修改删除系统文件后会出现无法开机或者是移动定制(联通合约机)版想刷标准版,这时就会用到线刷,首先就是安装线刷驱动。 在XP和win7上线刷是比较方便的,用那个驱动自动安装版,直接就可以安装好,完成线刷。不过现在也有好多机友换成了win8/8.1系统,再使用这个_mt65驱动

SonarQube简介及客户端集成_sonar的客户端区别-程序员宅基地

文章浏览阅读1k次。SonarQube是一个代码质量管理平台,可以扫描监测代码并给出质量评价及修改建议,通过插件机制支持25+中开发语言,可以很容易与gradle\maven\jenkins等工具进行集成,是非常流行的代码质量管控平台。通CheckStyle、findbugs等工具定位不同,SonarQube定位于平台,有完善的管理机制及强大的管理页面,并通过插件支持checkstyle及findbugs等既有的流..._sonar的客户端区别

元学习系列(六):神经图灵机详细分析_神经图灵机方法改进-程序员宅基地

文章浏览阅读3.4k次,点赞2次,收藏27次。神经图灵机是LSTM、GRU的改进版本,本质上依然包含一个外部记忆结构、可对记忆进行读写操作,主要针对读写操作进行了改进,或者说提出了一种新的读写操作思路。神经图灵机之所以叫这个名字是因为它通过深度学习模型模拟了图灵机,但是我觉得如果先去介绍图灵机的概念,就会搞得很混乱,所以这里主要从神经图灵机改进了LSTM的哪些方面入手进行讲解,同时,由于模型的结构比较复杂,为了让思路更清晰,这次也会分开几..._神经图灵机方法改进

【机器学习】机器学习模型迭代方法(Python)-程序员宅基地

文章浏览阅读2.8k次。一、模型迭代方法机器学习模型在实际应用的场景,通常要根据新增的数据下进行模型的迭代,常见的模型迭代方法有以下几种:1、全量数据重新训练一个模型,直接合并历史训练数据与新增的数据,模型直接离线学习全量数据,学习得到一个全新的模型。优缺点:这也是实际最为常见的模型迭代方式,通常模型效果也是最好的,但这样模型迭代比较耗时,资源耗费比较多,实时性较差,特别是在大数据场景更为困难;2、模型融合的方法,将旧模..._模型迭代

base64图片打成Zip包上传,以及服务端解压的简单实现_base64可以装换zip吗-程序员宅基地

文章浏览阅读2.3k次。1、前言上传图片一般采用异步上传的方式,但是异步上传带来不好的地方,就如果图片有改变或者删除,图片服务器端就会造成浪费。所以有时候就会和参数同步提交。笔者喜欢base64图片一起上传,但是图片过多时就会出现数据丢失等异常。因为tomcat的post请求默认是2M的长度限制。2、解决办法有两种:① 修改tomcat的servel.xml的配置文件,设置 maxPostSize=..._base64可以装换zip吗

Opencv自然场景文本识别系统(源码&教程)_opencv自然场景实时识别文字-程序员宅基地

文章浏览阅读1k次,点赞17次,收藏22次。Opencv自然场景文本识别系统(源码&教程)_opencv自然场景实时识别文字

随便推点

ESXi 快速复制虚拟机脚本_exsi6.7快速克隆centos-程序员宅基地

文章浏览阅读1.3k次。拷贝虚拟机文件时间比较长,因为虚拟机 flat 文件很大,所以要等。脚本完成后,以复制虚拟机文件夹。将以下脚本内容写入文件。_exsi6.7快速克隆centos

好友推荐—基于关系的java和spark代码实现_本关任务:使用 spark core 知识完成 " 好友推荐 " 的程序。-程序员宅基地

文章浏览阅读2k次。本文主要实现基于二度好友的推荐。数学公式参考于:http://blog.csdn.net/qq_14950717/article/details/52197565测试数据为自己随手画的关系图把图片整理成文本信息如下:a b c d e f yb c a f gc a b dd c a e h q re f h d af e a b gg h f bh e g i di j m n ..._本关任务:使用 spark core 知识完成 " 好友推荐 " 的程序。

南京大学-高级程序设计复习总结_南京大学高级程序设计-程序员宅基地

文章浏览阅读367次。南京大学高级程序设计期末复习总结,c++面向对象编程_南京大学高级程序设计

4.朴素贝叶斯分类器实现-matlab_朴素贝叶斯 matlab训练和测试输出-程序员宅基地

文章浏览阅读3.1k次,点赞2次,收藏12次。实现朴素贝叶斯分类器,并且根据李航《统计机器学习》第四章提供的数据训练与测试,结果与书中一致分别实现了朴素贝叶斯以及带有laplace平滑的朴素贝叶斯%书中例题实现朴素贝叶斯%特征1的取值集合A1=[1;2;3];%特征2的取值集合A2=[4;5;6];%S M LAValues={A1;A2};%Y的取值集合YValue=[-1;1];%数据集和T=[ 1,4,-1;..._朴素贝叶斯 matlab训练和测试输出

Markdown 文本换行_markdowntext 换行-程序员宅基地

文章浏览阅读1.6k次。Markdown 文本换行_markdowntext 换行

错误:0xC0000022 在运行 Microsoft Windows 非核心版本的计算机上,运行”slui.exe 0x2a 0xC0000022″以显示错误文本_错误: 0xc0000022 在运行 microsoft windows 非核心版本的计算机上,运行-程序员宅基地

文章浏览阅读6.7w次,点赞2次,收藏37次。win10 2016长期服务版激活错误解决方法:打开“注册表编辑器”;(Windows + R然后输入Regedit)修改SkipRearm的值为1:(在HKEY_LOCAL_MACHINE–》SOFTWARE–》Microsoft–》Windows NT–》CurrentVersion–》SoftwareProtectionPlatform里面,将SkipRearm的值修改为1)重..._错误: 0xc0000022 在运行 microsoft windows 非核心版本的计算机上,运行“slui.ex

推荐文章

热门文章

相关标签