Skip to content

Commit e9cb375

Browse files
committed
Rename PathCondition according to client's naming
1 parent cd23fbf commit e9cb375

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

VSharp.Explorer/AISearcher.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ type internal AISearcher(oracle: Oracle, aiAgentTrainingMode: Option<AIAgentTrai
180180
State(
181181
s.Id,
182182
s.Position,
183-
s.PathCondition,
183+
s.PathConditionSize,
184184
s.VisitedAgainVertices,
185185
s.VisitedNotCoveredVerticesInZone,
186186
s.VisitedNotCoveredVerticesOutOfZone,
@@ -383,7 +383,7 @@ type internal AISearcher(oracle: Oracle, aiAgentTrainingMode: Option<AIAgentTrai
383383
firstFreePositionInParentsOf <- firstFreePositionInParentsOf + state.Children.Length
384384

385385
index_pcToState.[firstFreePositionInPcToState] <-
386-
int64 pathConditionVerticesIds[state.PathCondition.Id]
386+
int64 pathConditionVerticesIds[state.PathConditionSize.Id]
387387

388388
index_pcToState.[firstFreePositionInPcToState + gameState.States.Length] <-
389389
int64 stateIds[state.Id]

VSharp.ML.GameServer/Messages.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ type StateHistoryElem =
153153
type State =
154154
val Id: uint<stateId>
155155
val Position: uint<byte_offset> // to basic block id
156-
val PathCondition: PathConditionVertex
156+
val PathConditionSize: PathConditionVertex
157157
val VisitedAgainVertices: uint
158158
val VisitedNotCoveredVerticesInZone: uint
159159
val VisitedNotCoveredVerticesOutOfZone: uint
@@ -177,7 +177,7 @@ type State =
177177
) =
178178
{ Id = id
179179
Position = position
180-
PathCondition = pathCondition
180+
PathConditionSize = pathCondition
181181
VisitedAgainVertices = visitedAgainVertices
182182
VisitedNotCoveredVerticesInZone = visitedNotCoveredVerticesInZone
183183
VisitedNotCoveredVerticesOutOfZone = visitedNotCoveredVerticesOutOfZone

0 commit comments

Comments
 (0)