文件名称:MyMarsRovers

  • 所属分类:
  • C#编程
  • 资源属性:
  • [Windows] [Visual.Net] [源码]
  • 上传时间:
  • 2012-11-26
  • 文件大小:
  • 53kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • wan***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

Thoughtworks公司面试题——MARS ROVERS问题火星探测器 C# 实现 VS2010工程,带界面展示!



一小队机器人探测器将由NASA送上火星高原,探测器将在这个奇特的矩形高原上行驶。



用它们携带的照相机将周围的全景地势图发回到地球。每个探测器的方向和位置将由一个x,y系坐标图和一个表示地理方向的字母表示出来。为了方便导航,平原将被划分为网格状。位置坐标示例:0,0,N,表示探测器在坐标图的左下角,且面朝北方。为控制探测器,NASA会传送一串简单的字母。可能传送的字母为: L , R 和 M 。 L ,和 R 分别表示使探测器向左、向右旋转90度,但不离开他所在地点。 M 表示向前开进一个网格的距离,且保持方向不变。假设以广场(高原)的直北方向为y轴的指向。



输入:首先输入的line是坐标图的右上方,假定左下方顶点的坐标为0,0。剩下的要输入的是被分布好的探测器的信息。每个探测器需要输入wo lines。第一条line 提供探测器的位置,第二条是关于这个探测器怎样进行高原探测的一系列说明。位置是由两个整数和一个区分方向的字母组成,对应了探测器的(x,y)坐标和方向。每个探测器的移动将按序完成,即后一个探测器不能在前一个探测器完成移动之前开始移动。-he Thoughtworks Company interview questions- MARS ROVERS Mars probe C# VS2010 project with interface shows!



The robot detector by a small team of NASA Mars plateau, the detector will be traveling on this strange rectangular plateau.



They carry the camera panoramic views of the surrounding terrain Figure is sent back to Earth. The direction and position of each of the detectors by an x, y-based coordinate diagram, and a representation of the geographical direction of letters represented. In order to facilitate navigation, the plains will be divided into a grid-like. Sample location coordinates: 0,0 N detectors in the lower left corner of the plot, and facing north. Control detectors, NASA will send a bunch of letters. The letters may be sent to: L , R and M . L , R , respectively, so that the detector rotated 90 degrees to the left, right, but does not leave his location. M is moved into a grid distance forward and changing the orientation. Assuming Square (plateau) straig
(系统自动生成,下载前可以参看下载内容)

下载文件列表





MyMarsRovers\bin\Debug\cmd.txt

............\...\.....\MyMarsRovers.exe

............\...\.....\MyMarsRovers.pdb

............\...\.....\MyMarsRovers.vshost.exe

............\...\.....\MyMarsRovers.vshost.exe.manifest

............\MainForm.cs

............\MainForm.Designer.cs

............\MainForm.resx

............\MarsRover.cs

............\MyMarsRovers.csproj

............\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache

............\...\...\.....\GenerateResource-ResGen.read.1.tlog

............\...\...\.....\GenerateResource-ResGen.write.1.tlog

............\...\...\.....\MyMarsRovers.csproj.FileListAbsolute.txt

............\...\...\.....\MyMarsRovers.exe

............\...\...\.....\MyMarsRovers.MainForm.resources

............\...\...\.....\MyMarsRovers.pdb

............\...\...\.....\MyMarsRovers.Properties.Resources.resources

............\Position.cs

............\Program.cs

............\...perties\AssemblyInfo.cs

............\..........\Resources.Designer.cs

............\..........\Resources.resx

............\..........\Settings.Designer.cs

............\..........\Settings.settings

MyMarsRovers.sln

MyMarsRovers.suo

............\obj\x86\Debug\TempPE

............\...\...\Debug

............\bin\Debug

............\...\Release

............\obj\x86

............\bin

............\obj

............\Properties

MyMarsRovers

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org