Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
se2aa4_cs2me3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
W. Spencer Smith
se2aa4_cs2me3
Commits
dcd4774b
Commit
dcd4774b
authored
7 years ago
by
Sepehr Bayat
Browse files
Options
Downloads
Patches
Plain Diff
Update T4.tex
parent
25c61ace
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tutorials/T04-A2Example/slides/T4.tex
+7
-4
7 additions, 4 deletions
Tutorials/T04-A2Example/slides/T4.tex
with
7 additions
and
4 deletions
Tutorials/T04-A2Example/slides/T4.tex
+
7
−
4
View file @
dcd4774b
...
...
@@ -117,7 +117,10 @@ McMaster University\\ }
\begin{itemize}
\item
A file with encapsulated code to implement a specific functionality
\item
Ex: For designing a website with a login system, we may have a module that deals with logging out
\item
A module comes with an "interface"
\item
An interface includes things like functions and arguments of the function
\item
An interface includes things like functions and arguments of the function
\item
Interface connects two system/modules, like a touch screen between people and phone
\item
Implementation and Interface are separated, no matter how the code changes, the output should always be the same
\end{itemize}
\end{frame}
...
...
@@ -193,7 +196,7 @@ McMaster University\\ }
Consider the following triangle:
\begin{figure}
[h]
\centering
\includegraphics
[width=0.5\textwidth]
{
triangle.png
}
%
\includegraphics[width=0.5\textwidth]{triangle.png}
\end{figure}
We are using the following inequality which is called inequality equation to know the possibility of having triangle with three points A, B and C:
...
...
@@ -456,8 +459,8 @@ $out := ((self.sides[0] + self.slide[1]) > self.sides[2]$
$
\wedge
(
self.sides
[
1
]
+
self.slide
[
2
])
> self.sides
[
0
]
$
$
\wedge
(
self.sides
[
0
]
+
self.slide
[
2
])
> self.sides
[
1
]
$
)
\item
exception:
\\
ex := ((p1.xcoord()==p2.xcoord() ==p3.xcoord()
$
\vee
$
\\
p1.ycoord()==p2.ycoord() ==p3.ycoord())
$
\Rightarrow
\mbox
{
LINE
}
)
$
\\
$
ex :
=
((
p
1
.xcoord
()==
p
2
.xcoord
()
==
p
3
.xcoord
()
$
$
\vee
$
\\
$
p
1
.ycoord
()==
p
2
.ycoord
()
==
p
3
.ycoord
())
$
$
\Rightarrow
\mbox
{
LINE
}
)
$
\end{itemize}
\end{frame}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment