def _createNetwork():
network = Network()<EOL>network.addRegion('<STR_LIT>', '<STR_LIT>', '<STR_LIT:{}>')<EOL>sensorRegion = network.regions['<STR_LIT>'].getSelf()<EOL>encoderParams = {'<STR_LIT>': {'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': <NUM_LIT>,<EOL>'<STR_LIT>': <NUM_LIT:1>,<EOL>'<STR_LIT:name>': '<STR_LIT>',<EOL>'<STR_LIT:type>': '<STR_LIT>'}}<EOL>encoder = MultiEncoder()<EOL>encoder.addMultipleEncoders(encoderParams)<EOL>sensorRegion.encoder = encoder<EOL>testDir = os.path.dirname(os.path.abspath(__file__))<EOL>inputFile = os.path.join(testDir, '<STR_LIT>', '<STR_LIT>')<EOL>dataSource = FileRecordStream(streamID=inputFile)<EOL>sensorRegion.dataSource = dataSource<EOL>network.regions['<STR_LIT>'].setParameter('<STR_LIT>', '<STR_LIT>')<EOL>return network<EOL>
Create network with one RecordSensor region.