dfs
2016-05-06 00:33:41   0  举报             
     
         
 深度优先搜索(DFS)是一种用于遍历或搜索树或图的算法。这个算法会尽可能深地搜索图的分支。当节点v的所在边都己被探寻过,搜索将回溯到发现节点v的那条边的起始节点。这一过程一直进行到已发现从源节点可达的所有节点为止。如果还存在未被发现的节点,则选择其中一个作为源节点并重复以上过程,整个进程反复进行直到所有节点都被访问为止。DFS可以使用递归或栈实现。
    作者其他创作
 大纲/内容
 Back the selection
    waveform output
  waveform=2?
  press the RA5 to comfirm
  all pass filter
  press RB0
  waveform=1?
  high pass filter
  set the loop
  press the RA5?
  display the modulator 
  set RB0 as go and R5A as back
  select the sine wave
  multiply the signal and store
  the sinewave
  select different waveforms
  press theRA5? 
  start
  set different coefficient
  set the head
  waveform=4?
  select the sawtooth wave
  go back
  YES
  Filter=1
  comfirm the waveform
  select the triangle wave
  Filter=4
  low pass filter
  the triangle wave
  yes
  RA5=signal generatorRB0=signal processer
  initialize and set the header file
  NO and press RB0
  Get the filter value from the potentiometer
  select the square wave
  pressedRB0?
  put the signal into port D
  Get value from potentiometer
  the square wave
  simulate the function and  give value to PortD
  END
  press the RB0
  Filter=2
  the sawtooth wave
  waveform=3?
  give ADC value to portD
  PRESS the R50?
  set the potentiometer to select different frequency
  Display the filter
  bandpassfilter
  pressedRA5?
  Filter=3
  display the \"slection\" function and the ADC
   
 
 
 
 
  0 条评论
 下一页
  
   
   
  
  
  
  
  
  
  
  
 