jp.crestmuse.cmx.amusaj.sp
クラス PeakExtractor

java.lang.Object
  上位を拡張 jp.crestmuse.cmx.amusaj.sp.PeakExtractor
すべての実装されたインタフェース:
ProducerConsumerCompatible<ComplexArray,PeakSet>

public class PeakExtractor
extends java.lang.Object
implements ProducerConsumerCompatible<ComplexArray,PeakSet>


コンストラクタの概要
PeakExtractor()
           
 
メソッドの概要
 TimeSeriesCompatible<PeakSet> createOutputInstance(int nFrames, int timeunit)
           
 void execute(java.util.List<QueueReader<ComplexArray>> src, java.util.List<TimeSeriesCompatible<PeakSet>> dest)
          ここに処理内容を記述します.
 int getInputChannels()
          入力チャンネル数を返します.
 int getOutputChannels()
          出力チャンネル数を返します
 void setParams(java.util.Map<java.lang.String,java.lang.Object> params)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PeakExtractor

public PeakExtractor()
メソッドの詳細

getInputChannels

public int getInputChannels()
インタフェース ProducerConsumerCompatible の記述:
入力チャンネル数を返します.

定義:
インタフェース ProducerConsumerCompatible<ComplexArray,PeakSet> 内の getInputChannels

getOutputChannels

public int getOutputChannels()
インタフェース ProducerConsumerCompatible の記述:
出力チャンネル数を返します

定義:
インタフェース ProducerConsumerCompatible<ComplexArray,PeakSet> 内の getOutputChannels

createOutputInstance

public TimeSeriesCompatible<PeakSet> createOutputInstance(int nFrames,
                                                          int timeunit)
定義:
インタフェース ProducerConsumerCompatible<ComplexArray,PeakSet> 内の createOutputInstance

execute

public void execute(java.util.List<QueueReader<ComplexArray>> src,
                    java.util.List<TimeSeriesCompatible<PeakSet>> dest)
             throws java.lang.InterruptedException
インタフェース ProducerConsumerCompatible の記述:
ここに処理内容を記述します. 引数srcに全入力チャンネルに対するQueueReaderが 格納されているので, takeメソッドでそこから1つずつ要素を取り出します.

定義:
インタフェース ProducerConsumerCompatible<ComplexArray,PeakSet> 内の execute
パラメータ:
src - 全入力チャンネルに対するQueueReaderオブジェクト
dest - 全出力チャンネル
例外:
java.lang.InterruptedException

setParams

public void setParams(java.util.Map<java.lang.String,java.lang.Object> params)
定義:
インタフェース ProducerConsumerCompatible<ComplexArray,PeakSet> 内の setParams