Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Поведение мобильного агента в мультиагентной среде.doc
Скачиваний:
17
Добавлен:
02.05.2014
Размер:
434.69 Кб
Скачать

Приложение а Экранная форма программы

Приложение б.

ТЕКСТ МОДЕЛИ

Model {

Name "model_2"

Version 4.00

SampleTimeColors off

LibraryLinkDisplay "none"

WideLines off

ShowLineDimensions off

ShowPortDataTypes off

ShowStorageClass off

ExecutionOrder off

RecordCoverage off

CovPath "/"

CovSaveName "covdata"

CovMetricSettings "dw"

CovNameIncrementing off

CovHtmlReporting on

BlockNameDataTip off

BlockParametersDataTip off

BlockDescriptionStringDataTip off

ToolBar on

StatusBar on

BrowserShowLibraryLinks off

BrowserLookUnderMasks off

Created "Sun Dec 24 16:08:42 2006"

UpdateHistory "UpdateHistoryNever"

ModifiedByFormat "%<Auto>"

LastModifiedBy "Саша"

ModifiedDateFormat "%<Auto>"

LastModifiedDate "Tue Dec 26 22:17:12 2006"

ModelVersionFormat "1.%<AutoIncrement:43>"

ConfigurationManager "None"

SimParamPage "Solver"

StartTime "0.0"

StopTime "54000"

SolverMode "Auto"

Solver "FixedStepDiscrete"

RelTol "1e-3"

AbsTol "auto"

Refine "1"

MaxStep "auto"

MinStep "auto"

MaxNumMinSteps "-1"

InitialStep "auto"

FixedStep "auto"

MaxOrder 5

OutputOption "RefineOutputTimes"

OutputTimes "[]"

LoadExternalInput off

ExternalInput "[t, u]"

SaveTime on

TimeSaveName "tout"

SaveState off

StateSaveName "xout"

SaveOutput on

OutputSaveName "yout"

LoadInitialState off

InitialState "xInitial"

SaveFinalState off

FinalStateName "xFinal"

SaveFormat "Array"

LimitDataPoints on

MaxDataPoints "1000"

Decimation "1"

AlgebraicLoopMsg "warning"

MinStepSizeMsg "warning"

UnconnectedInputMsg "warning"

UnconnectedOutputMsg "warning"

UnconnectedLineMsg "warning"

InheritedTsInSrcMsg "warning"

SingleTaskRateTransMsg "none"

MultiTaskRateTransMsg "error"

IntegerOverflowMsg "warning"

CheckForMatrixSingularity "none"

UnnecessaryDatatypeConvMsg "none"

Int32ToFloatConvMsg "warning"

InvalidFcnCallConnMsg "error"

SignalLabelMismatchMsg "none"

LinearizationMsg "none"

VectorMatrixConversionMsg "none"

SfunCompatibilityCheckMsg "none"

BlockPriorityViolationMsg "warning"

ArrayBoundsChecking "none"

ConsistencyChecking "none"

ZeroCross on

Profile off

SimulationMode "normal"

RTWSystemTargetFile "grt.tlc"

RTWOptions "-aEnforceIntegerDowncast=0 -aExtMode=0 -aFoldNonRol"

"ledExpr=0 -aForceParamTrailComments=0 -aGenerateComments=1 -aIgnoreCustomStor"

"ageClasses=1 -aIncHierarchyInIds=0 -aInlineInvariantSignals=0 -aLocalBlockOut"

"puts=0 -aLogVarNameModifier=\"rt_\" -aRTWVerbose=1 -aRollThreshold=5 -aShowEl"

"iminatedStatements=1"

RTWInlineParameters off

RTWRetainRTWFile off

RTWTemplateMakefile "grt_default_tmf"

RTWMakeCommand "make_rtw"

RTWGenerateCodeOnly off

TLCProfiler off

TLCDebug off

TLCCoverage off

AccelSystemTargetFile "accel.tlc"

AccelTemplateMakefile "accel_default_tmf"

AccelMakeCommand "make_rtw"

TryForcingSFcnDF off

ExtModeMexFile "ext_comm"

ExtModeBatchMode off

ExtModeTrigType "manual"

ExtModeTrigMode "normal"

ExtModeTrigPort "1"

ExtModeTrigElement "any"

ExtModeTrigDuration 1000

ExtModeTrigHoldOff 0

ExtModeTrigDelay 0

ExtModeTrigDirection "rising"

ExtModeTrigLevel 0

ExtModeArchiveMode "off"

ExtModeAutoIncOneShot off

ExtModeIncDirWhenArm off

ExtModeAddSuffixToVar off

ExtModeWriteAllDataToWs off

ExtModeArmWhenConnect on

ExtModeSkipDownloadWhenConnect off

ExtModeLogAll on

ExtModeAutoUpdateStatusClock on

OptimizeBlockIOStorage off

BufferReuse on

ParameterPooling on

BlockReductionOpt on

RTWExpressionDepthLimit 5

BooleanDataType off

BlockDefaults {

Orientation "right"

ForegroundColor "black"

BackgroundColor "white"

DropShadow off

NamePlacement "normal"

FontName "Helvetica"

FontSize 10

FontWeight "normal"

FontAngle "normal"

ShowName on

}

System {

Name "model_2"

Location [150, 82, 1017, 722]

Open on

ModelBrowserVisibility on

ModelBrowserWidth 145

ScreenColor "automatic"

PaperOrientation "landscape"

PaperPositionMode "auto"

PaperType "usletter"

PaperUnits "inches"

ZoomFactor "100"

ReportName "simulink-default.rpt"

Block {

BlockType Constant

Name "Constant1"

Position [15, 35, 45, 65]

ShowName off

Value "1"

VectorParams1D on

}

Block {

BlockType Constant

Name "Constant2"

Position [375, 250, 405, 280]

Orientation "left"

NamePlacement "alternate"

ShowName off

Value "15"

VectorParams1D on

}

Block {

BlockType DiscreteIntegrator

Name "Discrete-Time\nIntegrator3"

Ports [1, 1]

Position [70, 30, 105, 70]

ShowName off

IntegratorMethod "ForwardEuler"

ExternalReset "none"

InitialConditionSource "internal"

InitialCondition "0"

LimitOutput off

UpperSaturationLimit "inf"

LowerSaturationLimit "-inf"

ShowSaturationPort off

ShowStatePort off

SampleTime "1"

RTWStateStorageClass "Auto"

}

Block {

BlockType Display

Name "Display1"

Ports [1]

Position [625, 403, 725, 437]

ShowName off

FontName "Arial"

FontSize 12

Format "long"

Decimation "1"

Floating off

SampleTime "-1"

}

Block {

BlockType Display

Name "Display2"

Ports [1]

Position [260, 35, 370, 65]

ShowName off

FontName "Arial"

FontSize 12

Format "long"

Decimation "1"

Floating off

SampleTime "-1"

}

Block {

BlockType Display

Name "Display3"

Ports [1]

Position [560, 15, 670, 45]

ShowName off

FontName "Arial"

FontSize 12

Format "long"

Decimation "1"

Floating off

SampleTime "-1"

}

Block {

BlockType Display

Name "Display4"

Ports [1]

Position [560, 60, 670, 90]

ShowName off

FontName "Arial"

FontSize 12

Format "long"

Decimation "1"

Floating off

SampleTime "-1"

}

Block {

BlockType Display

Name "Display5"

Ports [1]

Position [625, 444, 725, 476]

ShowName off

FontName "Arial"

FontSize 12

Format "long"

Decimation "1"

Floating off

SampleTime "-1"

}

Block {

BlockType Display

Name "Display6"

Ports [1]

Position [625, 487, 725, 513]

ShowName off

FontName "Arial"

FontSize 12

Format "short"

Decimation "1"

Floating off

SampleTime "-1"

}

Block {

BlockType Display

Name "Display7"

Ports [1]

Position [625, 525, 725, 555]

ShowName off

FontName "Arial"

FontSize 12

Format "short"

Decimation "1"

Floating off

SampleTime "-1"

}

Block {

BlockType From

Name "From1"

Position [15, 220, 70, 240]

ShowName off

CloseFcn "tagdialog Close"

FontName "Arial"

FontSize 8

GotoTag "FULLPEOP"

}

Block {

BlockType From

Name "From2"

Position [15, 95, 70, 115]

ShowName off

CloseFcn "tagdialog Close"

FontName "Arial"

FontSize 8

GotoTag "FULLTAXI"

}

Block {

BlockType Goto

Name "Goto1"

Position [440, 285, 500, 315]

ShowName off

GotoTag "FULLPEOP"

TagVisibility "global"

}

Block {

BlockType Goto

Name "Goto2"

Position [470, 130, 535, 160]

ShowName off

GotoTag "FULLTAXI"

TagVisibility "global"

}

Block {

BlockType Logic

Name "Logical\nOperator"

Ports [2, 1]

Position [120, 107, 140, 158]

ShowName off

FontName "Arial"

FontSize 8

Operator "AND"

Inputs "2"

}

Block {

BlockType Logic

Name "Logical\nOperator1"

Ports [2, 1]

Position [460, 174, 490, 236]

ShowName off

Operator "AND"

Inputs "2"

}

Block {

BlockType Logic

Name "Logical\nOperator2"

Ports [2, 1]

Position [120, 227, 140, 278]

ShowName off

FontName "Arial"

FontSize 8

Operator "AND"

Inputs "2"

}

Block {

BlockType Logic

Name "Logical\nOperator3"

Ports [1, 1]

Position [80, 93, 105, 117]

NamePlacement "alternate"

ShowName off

FontName "Arial"

FontSize 8

Operator "NOT"

Inputs "2"

}

Block {

BlockType Logic

Name "Logical\nOperator4"

Ports [1, 1]

Position [80, 218, 105, 242]

NamePlacement "alternate"

ShowName off

FontName "Arial"

FontSize 8

Operator "NOT"

Inputs "2"

}

Block {

BlockType Memory

Name "Memory1"

Position [415, 130, 445, 160]

NamePlacement "alternate"

ShowName off

X0 "0"

InheritSampleTime off

RTWStateStorageClass "Auto"

}

Block {

BlockType Memory

Name "Memory3"

Position [375, 285, 405, 315]

NamePlacement "alternate"

ShowName off

X0 "0"

InheritSampleTime off

RTWStateStorageClass "Auto"

}